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.001348/0.001348, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001618/0.001618, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.161/0.161, allocations: 23.84 MB / 337.1 MB, free: 11.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_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.00207/0.00207, allocations: 56.19 kB / 471.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4208, allocations: 59.86 MB / 0.5193 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005694/0.4264, allocations: 3.501 MB / 0.5227 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.4334, allocations: 4.802 MB / 0.5274 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.4341, allocations: 8.344 kB / 0.5274 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.4346, allocations: 108.2 kB / 0.5275 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.4362, allocations: 468.6 kB / 0.528 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.4381, allocations: 0.5234 MB / 0.5285 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.4391, allocations: 0.5852 MB / 0.5291 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.4396, allocations: 314.4 kB / 0.5294 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.44, allocations: 296.4 kB / 0.5297 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.4405, allocations: 308.8 kB / 0.53 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.202e-05/0.4406, allocations: 52.44 kB / 0.53 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.4426, allocations: 479.4 kB / 0.5305 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.4427, allocations: 119.2 kB / 0.5306 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.443, allocations: 280.8 kB / 0.5308 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.4452, allocations: 1.078 MB / 0.5319 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4452, allocations: 0 / 0.5319 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4452, allocations: 5.312 kB / 0.5319 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4452, allocations: 0 / 0.5319 GB, free: 1.477 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.001798/0.447, allocations: 0.8007 MB / 0.5327 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.447, allocations: 9.781 kB / 0.5327 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.284e-05/0.4471, allocations: 12.84 kB / 0.5327 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.4472, allocations: 88.62 kB / 0.5328 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.4477, allocations: 94.11 kB / 0.5329 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.4484, allocations: 310.9 kB / 0.5332 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.4484, allocations: 35.62 kB / 0.5332 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.4485, allocations: 47.38 kB / 0.5333 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008988/0.4494, allocations: 457.9 kB / 0.5337 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4494, allocations: 0 / 0.5337 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.4495, allocations: 19.72 kB / 0.5337 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.4495, allocations: 15.42 kB / 0.5337 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/0.4505, allocations: 0.5062 MB / 0.5342 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.4537, allocations: 1.502 MB / 0.5357 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.4546, allocations: 339.5 kB / 0.536 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.4548, allocations: 108.4 kB / 0.5361 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002517/0.4573, allocations: 0.9224 MB / 0.537 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.4574, allocations: 35.91 kB / 0.537 GB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.4574, allocations: 0 / 0.537 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01465/0.4721, allocations: 2.117 MB / 0.5391 GB, free: 13.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.4721, allocations: 55.75 kB / 0.5392 GB, free: 13.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.4727, allocations: 298.7 kB / 0.5395 GB, free: 13.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.4727, allocations: 31.36 kB / 0.5395 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.473, allocations: 275.3 kB / 0.5397 GB, free: 13.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.4732, allocations: 115.3 kB / 0.5399 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.4733, allocations: 87.8 kB / 0.5399 GB, free: 13.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4735, allocations: 344.7 kB / 0.5403 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.4738, allocations: 136.5 kB / 0.5404 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.4742, allocations: 265.1 kB / 0.5407 GB, free: 12.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.4749, allocations: 426.1 kB / 0.5411 GB, free: 12.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4749, allocations: 1.875 kB / 0.5411 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004171/0.4791, allocations: 0.8217 MB / 0.5419 GB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.4791, allocations: 7.328 kB / 0.5419 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.4791, allocations: 5.719 kB / 0.5419 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003614/0.4827, allocations: 403.2 kB / 0.5423 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.4831, allocations: 82.36 kB / 0.5423 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007038/0.4901, allocations: 3.774 MB / 0.546 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.4906, allocations: 16.64 kB / 0.546 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.4907, allocations: 23.02 kB / 0.5461 GB, free: 8.754 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.0003545/0.491, allocations: 175.9 kB / 0.5462 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.4911, allocations: 40.33 kB / 0.5463 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/0.4959, allocations: 0.8266 MB / 0.5471 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4959, allocations: 3.781 kB / 0.5471 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4959, allocations: 2.25 kB / 0.5471 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4959, allocations: 6.141 kB / 0.5471 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.497, allocations: 0.6102 MB / 0.5477 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.497, allocations: 2.594 kB / 0.5477 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.4972, allocations: 55.16 kB / 0.5477 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004402/0.5016, allocations: 484.7 kB / 0.5482 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.5017, allocations: 15.41 kB / 0.5482 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007889/0.5096, allocations: 4.99 MB / 0.5531 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5096, allocations: 6.281 kB / 0.5531 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.5148, allocations: 1.123 MB / 0.5542 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.515, allocations: 35.91 kB / 0.5542 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.515, allocations: 15.38 kB / 0.5542 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.5153, allocations: 9.656 kB / 0.5542 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5154, allocations: 50.95 kB / 0.5543 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.5155, allocations: 16.5 kB / 0.5543 GB, free: 2.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.5157, allocations: 206.2 kB / 0.5545 GB, free: 1.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5157, allocations: 0 / 0.5545 GB, free: 1.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001082/0.5168, allocations: 236.3 kB / 0.5547 GB, free: 1.922 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.00616/0.523, allocations: 1.851 MB / 0.5565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.5246, allocations: 0.6574 MB / 0.5572 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5246, allocations: 0 / 0.5572 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.5257, allocations: 0.5997 MB / 0.5578 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.5266, allocations: 109.2 kB / 0.5579 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.5395, allocations: 4.609 MB / 0.5624 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.54, allocations: 0.8336 MB / 0.5632 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003112/0.5404, allocations: 66.88 kB / 0.5633 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.5407, allocations: 177.7 kB / 0.5634 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5407, allocations: 0 / 0.5634 GB, free: 11.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05331/0.594, allocations: 16.02 MB / 0.5791 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.75, allocations: 4.062 kB / 0.5791 GB, free: 11.58 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.845823831041344] Failed to read output from testmodel.py, exit status != 0: 14.936874571023509 14.964606254 14.514200306 Calling exit ...