Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006316/0.0006316, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 209.2 kB / 22.24 MB, free: 3.715 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9031/0.9031, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7753/0.7753, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 75.14 kB / 0.7178 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.548, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002572/0.5506, allocations: 1.962 MB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.5522, allocations: 1.286 MB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.5523, allocations: 5.562 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.5528, allocations: 157 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.5532, allocations: 209.1 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.5536, allocations: 170.7 kB / 0.8211 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.554, allocations: 339.6 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.5541, allocations: 34.55 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.5543, allocations: 156 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.5545, allocations: 159.1 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.5545, allocations: 17 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.5546, allocations: 56.55 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.5547, allocations: 106 kB / 0.8219 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.5548, allocations: 90.97 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.5552, allocations: 385.6 kB / 0.8224 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5552, allocations: 5.312 kB / 0.8224 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5552, allocations: 7.938 kB / 0.8224 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5552, allocations: 0 / 0.8224 GB, free: 14.27 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008176/0.5561, allocations: 0.5704 MB / 0.8229 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5561, allocations: 9.75 kB / 0.8229 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.5561, allocations: 44.41 kB / 0.823 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.5562, allocations: 36.64 kB / 0.823 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.5566, allocations: 319.7 kB / 0.8233 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5566, allocations: 9.734 kB / 0.8233 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5567, allocations: 10.16 kB / 0.8233 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.5568, allocations: 108.1 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.5569, allocations: 0 / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.5569, allocations: 5.578 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5569, allocations: 6.25 kB / 0.8235 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.557, allocations: 64.88 kB / 0.8235 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.5576, allocations: 458.5 kB / 0.824 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.5578, allocations: 131 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.5579, allocations: 54.41 kB / 0.8241 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5579, allocations: 1.891 kB / 0.8241 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.5581, allocations: 120 kB / 0.8242 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.5581, allocations: 0 / 0.8242 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003893/0.5585, allocations: 233.3 kB / 0.8245 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.5585, allocations: 54.72 kB / 0.8245 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.559, allocations: 0.529 MB / 0.825 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.559, allocations: 26.8 kB / 0.8251 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5591, allocations: 173 kB / 0.8252 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.5592, allocations: 45.64 kB / 0.8253 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/0.5592, allocations: 66.81 kB / 0.8253 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5593, allocations: 354.5 kB / 0.8257 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.5595, allocations: 104.1 kB / 0.8258 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.5596, allocations: 135.2 kB / 0.8259 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.5599, allocations: 196.1 kB / 0.8261 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5599, allocations: 0 / 0.8261 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003809/0.5602, allocations: 336.2 kB / 0.8264 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5603, allocations: 10.22 kB / 0.8264 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5603, allocations: 4 kB / 0.8264 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5603, allocations: 2.219 kB / 0.8264 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.5604, allocations: 51.28 kB / 0.8265 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5604, allocations: 3.297 kB / 0.8265 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.5605, allocations: 19.59 kB / 0.8265 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.5605, allocations: 18.3 kB / 0.8265 GB, free: 11.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.5607, allocations: 184.4 kB / 0.8267 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.5607, allocations: 40.09 kB / 0.8267 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.561, allocations: 217.7 kB / 0.8269 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.561, allocations: 1.469 kB / 0.8269 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.561, allocations: 0.9375 kB / 0.8269 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.561, allocations: 1.406 kB / 0.8269 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.5612, allocations: 255.9 kB / 0.8272 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5612, allocations: 1.906 kB / 0.8272 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.5613, allocations: 19.23 kB / 0.8272 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5613, allocations: 5.891 kB / 0.8272 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5613, allocations: 6.641 kB / 0.8272 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5613, allocations: 1.438 kB / 0.8272 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5613, allocations: 0 / 0.8272 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.5616, allocations: 230.2 kB / 0.8274 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.5616, allocations: 49.78 kB / 0.8275 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.5616, allocations: 2.062 kB / 0.8275 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.5617, allocations: 10.53 kB / 0.8275 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.5617, allocations: 17.59 kB / 0.8275 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5617, allocations: 14.66 kB / 0.8275 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002677/0.562, allocations: 328.3 kB / 0.8278 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.562, allocations: 0 / 0.8278 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002278/0.5622, allocations: 60.19 kB / 0.8279 GB, free: 10.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.5634, allocations: 1.109 MB / 0.829 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.5637, allocations: 192.8 kB / 0.8292 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5637, allocations: 4.125 kB / 0.8292 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.752e-05/0.5638, allocations: 61.17 kB / 0.8292 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.5641, allocations: 92.48 kB / 0.8293 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.5677, allocations: 3.218 MB / 0.8325 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.5679, allocations: 198.1 kB / 0.8326 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000197/0.5681, allocations: 59.95 kB / 0.8327 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.5683, allocations: 116 kB / 0.8328 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5683, allocations: 0 / 0.8328 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.5909, allocations: 8.333 MB / 0.841 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/7.491, allocations: 11.25 kB / 0.841 GB, free: 4.781 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.42546078003943] Failed to read output from testmodel.py, exit status != 0: 7.591135942842811 7.600594143 7.043395314 Calling exit ...