Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HeatingOfWater.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.001509/0.001509, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001702/0.001702, allocations: 215.6 kB / 22.25 MB, free: 5.113 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1591/0.1591, allocations: 23.85 MB / 336.3 MB, free: 11.24 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical 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.002255/0.002255, allocations: 67.89 kB / 471.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4366, allocations: 59.86 MB / 0.5186 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.007025/0.4437, allocations: 3.501 MB / 0.522 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.4502, allocations: 4.799 MB / 0.5267 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005986/0.4508, allocations: 8.406 kB / 0.5267 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.4513, allocations: 112.6 kB / 0.5268 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.4528, allocations: 459.7 kB / 0.5272 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.4546, allocations: 0.5282 MB / 0.5277 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.4556, allocations: 0.5859 MB / 0.5283 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.4561, allocations: 318.1 kB / 0.5286 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.4565, allocations: 288.3 kB / 0.5289 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.457, allocations: 308.9 kB / 0.5292 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.4571, allocations: 52.44 kB / 0.5292 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.4588, allocations: 483 kB / 0.5297 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.4589, allocations: 120.1 kB / 0.5298 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.4592, allocations: 279.7 kB / 0.5301 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.4611, allocations: 1.074 MB / 0.5311 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4611, allocations: 1.156 kB / 0.5311 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4611, allocations: 3.938 kB / 0.5311 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.4611, allocations: 4 kB / 0.5311 GB, free: 1.531 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001649/0.4628, allocations: 0.8056 MB / 0.5319 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4628, allocations: 9.594 kB / 0.5319 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.4629, allocations: 84.36 kB / 0.532 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.4634, allocations: 95.38 kB / 0.5321 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.464, allocations: 309 kB / 0.5324 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.464, allocations: 36.72 kB / 0.5324 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-05/0.4641, allocations: 51.64 kB / 0.5325 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.465, allocations: 457.1 kB / 0.5329 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.465, allocations: 0 / 0.5329 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.465, allocations: 16.25 kB / 0.5329 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.4651, allocations: 11.62 kB / 0.5329 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.466, allocations: 0.5093 MB / 0.5334 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.4688, allocations: 1.499 MB / 0.5349 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008355/0.4696, allocations: 347.5 kB / 0.5352 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4698, allocations: 106 kB / 0.5353 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002179/0.472, allocations: 0.9269 MB / 0.5362 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.472, allocations: 35.59 kB / 0.5363 GB, free: 14.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.273e-06/0.472, allocations: 0 / 0.5363 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01508/0.4871, allocations: 2.11 MB / 0.5383 GB, free: 13.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.4871, allocations: 56.89 kB / 0.5384 GB, free: 13.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.4876, allocations: 302.3 kB / 0.5387 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.4877, allocations: 32.97 kB / 0.5387 GB, free: 13.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.4879, allocations: 274.5 kB / 0.539 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.488, allocations: 113.6 kB / 0.5391 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.4882, allocations: 85.2 kB / 0.5392 GB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4884, allocations: 344.6 kB / 0.5395 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.4886, allocations: 133.4 kB / 0.5396 GB, free: 12.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.489, allocations: 264.1 kB / 0.5399 GB, free: 12.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.4897, allocations: 429.5 kB / 0.5403 GB, free: 12.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4897, allocations: 1.5 kB / 0.5403 GB, free: 12.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004336/0.494, allocations: 0.8125 MB / 0.5411 GB, free: 12.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4941, allocations: 8.047 kB / 0.5411 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4941, allocations: 7.281 kB / 0.5411 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003661/0.4978, allocations: 407.5 kB / 0.5415 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.4981, allocations: 82.77 kB / 0.5416 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008001/0.5061, allocations: 3.784 MB / 0.5452 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.5067, allocations: 12.94 kB / 0.5453 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.5068, allocations: 23.36 kB / 0.5453 GB, free: 8.805 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004825/0.5073, allocations: 176.2 kB / 0.5455 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.5075, allocations: 40.05 kB / 0.5455 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/0.5129, allocations: 0.8235 MB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.5129, allocations: 3.438 kB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.513, allocations: 1.094 kB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.513, allocations: 1.922 kB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.5143, allocations: 0.6166 MB / 0.5469 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.5143, allocations: 2.188 kB / 0.5469 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.5145, allocations: 51.8 kB / 0.547 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004721/0.5192, allocations: 484.1 kB / 0.5474 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.5193, allocations: 18.92 kB / 0.5474 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008129/0.5274, allocations: 4.991 MB / 0.5523 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.5274, allocations: 6.312 kB / 0.5523 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005294/0.5327, allocations: 1.123 MB / 0.5534 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5329, allocations: 35.05 kB / 0.5534 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.5329, allocations: 8.062 kB / 0.5535 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.5332, allocations: 9.406 kB / 0.5535 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.5333, allocations: 50.05 kB / 0.5535 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.5334, allocations: 24.83 kB / 0.5535 GB, free: 2.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.5337, allocations: 202.7 kB / 0.5537 GB, free: 2.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5337, allocations: 0 / 0.5537 GB, free: 2.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001099/0.5348, allocations: 240.1 kB / 0.554 GB, free: 1.961 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006477/0.5413, allocations: 1.843 MB / 0.5558 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.5428, allocations: 0.6649 MB / 0.5564 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5428, allocations: 0 / 0.5564 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5439, allocations: 0.5997 MB / 0.557 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.5446, allocations: 111.7 kB / 0.5571 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.5574, allocations: 4.611 MB / 0.5616 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.558, allocations: 0.8298 MB / 0.5624 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.5583, allocations: 70.16 kB / 0.5625 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.5586, allocations: 169.8 kB / 0.5626 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5586, allocations: 1.188 kB / 0.5626 GB, free: 11.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/0.6213, allocations: 15.98 MB / 0.5782 GB, free: 11.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.7, allocations: 15.31 kB / 0.5783 GB, free: 11.62 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HeatingOfWater.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.759246008936316] Failed to read output from testmodel.py, exit status != 0: 14.828204402001575 14.853089602 14.386276658 Calling exit ...