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.001374/0.001374, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001673/0.001673, allocations: 213.1 kB / 22.99 MB, free: 4.984 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1608/0.1608, allocations: 23.87 MB / 337.1 MB, free: 10.98 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: translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [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.002049/0.002049, allocations: 67.88 kB / 472.3 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4338, allocations: 59.86 MB / 0.5197 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004966/0.4387, allocations: 3.215 MB / 0.5229 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005232/0.444, allocations: 4.25 MB / 0.527 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.4444, allocations: 13.12 kB / 0.527 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.4448, allocations: 97.91 kB / 0.5271 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.4461, allocations: 447.6 kB / 0.5276 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.4475, allocations: 0.535 MB / 0.5281 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000784/0.4483, allocations: 0.5816 MB / 0.5287 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.4487, allocations: 303.4 kB / 0.5289 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.449, allocations: 296.5 kB / 0.5292 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.4494, allocations: 305.5 kB / 0.5295 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.4495, allocations: 51.53 kB / 0.5296 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.4506, allocations: 462.4 kB / 0.53 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.4508, allocations: 127.1 kB / 0.5301 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.451, allocations: 233.4 kB / 0.5303 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.4528, allocations: 1.077 MB / 0.5314 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4528, allocations: 1.125 kB / 0.5314 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4528, allocations: 0 / 0.5314 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4528, allocations: 0 / 0.5314 GB, free: 2.637 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.001624/0.4545, allocations: 0.8073 MB / 0.5322 GB, free: 2.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4545, allocations: 9.031 kB / 0.5322 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.4549, allocations: 93.92 kB / 0.5323 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.4556, allocations: 305.7 kB / 0.5326 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.4556, allocations: 36.56 kB / 0.5326 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.4557, allocations: 48.3 kB / 0.5327 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/0.4565, allocations: 453.8 kB / 0.5331 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4566, allocations: 0 / 0.5331 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.4566, allocations: 19.66 kB / 0.5331 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.4566, allocations: 12.72 kB / 0.5331 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000889/0.4575, allocations: 0.5027 MB / 0.5336 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.4599, allocations: 1.142 MB / 0.5347 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.4606, allocations: 344.4 kB / 0.5351 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.4608, allocations: 106 kB / 0.5352 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/0.4629, allocations: 0.867 MB / 0.536 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4629, allocations: 42.16 kB / 0.536 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.4629, allocations: 4 kB / 0.5361 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01747/0.4804, allocations: 2.112 MB / 0.5381 GB, free: 15.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4804, allocations: 54.88 kB / 0.5382 GB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.4809, allocations: 276.2 kB / 0.5384 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.481, allocations: 31.56 kB / 0.5385 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.4813, allocations: 284.7 kB / 0.5387 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.4816, allocations: 113.6 kB / 0.5388 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4818, allocations: 84.09 kB / 0.5389 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.482, allocations: 349.1 kB / 0.5393 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.4823, allocations: 132.6 kB / 0.5394 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.4828, allocations: 264.1 kB / 0.5396 GB, free: 14.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007466/0.4835, allocations: 423.6 kB / 0.54 GB, free: 13.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4835, allocations: 1.406 kB / 0.54 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004743/0.4883, allocations: 0.8164 MB / 0.5408 GB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4883, allocations: 6.562 kB / 0.5408 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4883, allocations: 8.25 kB / 0.5408 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004076/0.4924, allocations: 412 kB / 0.5412 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.4927, allocations: 79.69 kB / 0.5413 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007654/0.5003, allocations: 3.697 MB / 0.5449 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.5008, allocations: 16.7 kB / 0.5449 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.5009, allocations: 19.31 kB / 0.545 GB, free: 10.39 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.0003166/0.5012, allocations: 170.1 kB / 0.5451 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.5013, allocations: 32.17 kB / 0.5452 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005662/0.507, allocations: 0.8291 MB / 0.546 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.507, allocations: 8 kB / 0.546 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.507, allocations: 1.5 kB / 0.546 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.507, allocations: 9.812 kB / 0.546 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.5078, allocations: 490.1 kB / 0.5464 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.5078, allocations: 7.016 kB / 0.5465 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.508, allocations: 52.89 kB / 0.5465 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005353/0.5134, allocations: 495.3 kB / 0.547 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.5134, allocations: 19.42 kB / 0.547 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007945/0.5214, allocations: 4.876 MB / 0.5518 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.5214, allocations: 3.562 kB / 0.5518 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005972/0.5273, allocations: 1.116 MB / 0.5529 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.5275, allocations: 35.05 kB / 0.5529 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.5275, allocations: 12.42 kB / 0.5529 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.5279, allocations: 12.34 kB / 0.5529 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.528, allocations: 44.2 kB / 0.553 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.528, allocations: 16.78 kB / 0.553 GB, free: 4.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.5283, allocations: 185.2 kB / 0.5531 GB, free: 3.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5283, allocations: 1.25 kB / 0.5531 GB, free: 3.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001236/0.5295, allocations: 239.2 kB / 0.5534 GB, free: 3.918 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.0005877/0.5301, allocations: 292.6 kB / 0.5537 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.5316, allocations: 0.6622 MB / 0.5543 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5316, allocations: 0 / 0.5543 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5326, allocations: 0.6077 MB / 0.5549 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.5333, allocations: 106 kB / 0.555 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.5353, allocations: 1.038 MB / 0.556 GB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5355, allocations: 227.2 kB / 0.5562 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002745/0.5358, allocations: 73.19 kB / 0.5563 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5359, allocations: 57.5 kB / 0.5563 GB, free: 1.824 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5359, allocations: 0 / 0.5563 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Templates: time 0.02641/0.5624, allocations: 12.43 MB / 0.5685 GB, free: 6.844 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.747019335991354] Failed to read output from testmodel.py, exit status != 0: 0.5726440949947573 0.588538951 0.132460155 Calling exit ...