Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001362/0.001362, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001744/0.001744, allocations: 217.9 kB / 23.03 MB, free: 4.922 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1409/0.1409, allocations: 23.91 MB / 337.1 MB, free: 10.91 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="cs",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.002063/0.002063, allocations: 63.91 kB / 471.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3567, allocations: 59.87 MB / 0.5193 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004776/0.3615, allocations: 3.203 MB / 0.5225 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.3669, allocations: 4.242 MB / 0.5266 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/0.3675, allocations: 8.719 kB / 0.5266 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.3681, allocations: 98.78 kB / 0.5267 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.3697, allocations: 453.2 kB / 0.5272 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.3712, allocations: 0.528 MB / 0.5277 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008384/0.372, allocations: 0.5851 MB / 0.5282 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.3724, allocations: 306.6 kB / 0.5285 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.3727, allocations: 296.2 kB / 0.5288 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.3732, allocations: 304.8 kB / 0.5291 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.3733, allocations: 53.09 kB / 0.5292 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.3745, allocations: 466.4 kB / 0.5296 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3747, allocations: 119.8 kB / 0.5297 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.3749, allocations: 235.6 kB / 0.5299 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.3766, allocations: 1.078 MB / 0.531 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3766, allocations: 0.6875 kB / 0.531 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3766, allocations: 0 / 0.531 GB, free: 2.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3766, allocations: 0.6562 kB / 0.531 GB, free: 2.367 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.00155/0.3782, allocations: 0.7993 MB / 0.5318 GB, free: 1.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3782, allocations: 9.125 kB / 0.5318 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.996e-05/0.3783, allocations: 16.84 kB / 0.5318 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.725e-05/0.3784, allocations: 89.91 kB / 0.5319 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.3788, allocations: 97.59 kB / 0.532 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.3794, allocations: 310.2 kB / 0.5323 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.3794, allocations: 37.47 kB / 0.5323 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3795, allocations: 47.16 kB / 0.5324 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.3803, allocations: 456.5 kB / 0.5328 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3803, allocations: 4.688 kB / 0.5328 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.3804, allocations: 19.81 kB / 0.5328 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3804, allocations: 12.66 kB / 0.5328 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/0.3813, allocations: 0.5078 MB / 0.5333 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.3835, allocations: 1.215 MB / 0.5345 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.3843, allocations: 336.7 kB / 0.5348 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3845, allocations: 107.1 kB / 0.5349 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002063/0.3865, allocations: 0.8756 MB / 0.5358 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3866, allocations: 33.95 kB / 0.5358 GB, free: 15.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.3866, allocations: 0 / 0.5358 GB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01606/0.4026, allocations: 2.113 MB / 0.5379 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4027, allocations: 55.84 kB / 0.5379 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.4031, allocations: 300.7 kB / 0.5382 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.4032, allocations: 34.77 kB / 0.5383 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.4034, allocations: 275.6 kB / 0.5385 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.4036, allocations: 114.4 kB / 0.5386 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.4037, allocations: 84.52 kB / 0.5387 GB, free: 14.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4039, allocations: 346.6 kB / 0.539 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.4042, allocations: 131.5 kB / 0.5392 GB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.4046, allocations: 259.5 kB / 0.5394 GB, free: 13.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.4052, allocations: 432.4 kB / 0.5398 GB, free: 13.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4053, allocations: 1.438 kB / 0.5398 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004506/0.4098, allocations: 0.816 MB / 0.5406 GB, free: 13.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.4098, allocations: 8.375 kB / 0.5406 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4098, allocations: 3.719 kB / 0.5406 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003843/0.4136, allocations: 421.1 kB / 0.541 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.414, allocations: 78.39 kB / 0.5411 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.4214, allocations: 3.735 MB / 0.5448 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.4219, allocations: 17.73 kB / 0.5448 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.422, allocations: 26.72 kB / 0.5448 GB, free: 9.922 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.0003193/0.4223, allocations: 173.1 kB / 0.545 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4224, allocations: 39.39 kB / 0.545 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.4277, allocations: 0.8201 MB / 0.5458 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4277, allocations: 7.844 kB / 0.5458 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4277, allocations: 1.969 kB / 0.5458 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.4277, allocations: 1.406 kB / 0.5458 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4288, allocations: 0.5483 MB / 0.5463 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4288, allocations: 5.844 kB / 0.5464 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.429, allocations: 50.27 kB / 0.5464 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00501/0.434, allocations: 489.2 kB / 0.5469 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.4341, allocations: 19.27 kB / 0.5469 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008041/0.4421, allocations: 4.944 MB / 0.5517 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4421, allocations: 3.141 kB / 0.5517 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/0.4479, allocations: 1.126 MB / 0.5528 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.4482, allocations: 35.28 kB / 0.5529 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.4483, allocations: 12.59 kB / 0.5529 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.4486, allocations: 12.56 kB / 0.5529 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.4488, allocations: 43.95 kB / 0.5529 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.4488, allocations: 17.22 kB / 0.5529 GB, free: 3.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.4492, allocations: 206 kB / 0.5531 GB, free: 3.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4492, allocations: 1.094 kB / 0.5531 GB, free: 3.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001227/0.4504, allocations: 235.8 kB / 0.5534 GB, free: 3.328 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.006664/0.4571, allocations: 1.852 MB / 0.5552 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4587, allocations: 0.6606 MB / 0.5558 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4587, allocations: 0.8438 kB / 0.5558 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.4598, allocations: 0.6077 MB / 0.5564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.4606, allocations: 100.4 kB / 0.5565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.4741, allocations: 4.609 MB / 0.561 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4745, allocations: 232.1 kB / 0.5612 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.4748, allocations: 79.17 kB / 0.5613 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.4751, allocations: 175.3 kB / 0.5615 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4751, allocations: 0 / 0.5615 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.5261, allocations: 16.46 MB / 0.5775 GB, free: 12.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/14.87, allocations: 15 kB / 0.5776 GB, free: 12.89 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.68123074201867] Failed to read output from testmodel.py, exit status != 0: 15.056526975007728 15.083645476 14.70323827 Calling exit ...