Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.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.0009251/0.0009251, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00111/0.00111, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9757/0.9757, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.1063/0.1063, allocations: 17.47 MB / 277.7 MB, free: 11.44 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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: translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 300.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.186e-05, allocations: 7.672 kB / 300.7 MB, free: 1.711 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.03101/0.03102, allocations: 35.2 MB / 335.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.04104, allocations: 9.107 MB / 345 MB, free: 8.047 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006118/0.04165, allocations: 35.69 kB / 345 MB, free: 8.012 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.04343, allocations: 0.7924 MB / 345.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.04478, allocations: 0.733 MB / 346.6 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.04662, allocations: 0.9634 MB / 347.5 MB, free: 5.508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.048, allocations: 1.262 MB / 348.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.04824, allocations: 171.8 kB / 349 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/0.04889, allocations: 0.6001 MB / 349.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.04943, allocations: 466.8 kB / 350 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.04951, allocations: 80 kB / 350.1 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.05127, allocations: 1.169 MB / 351.3 MB, free: 1.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.05146, allocations: 283 kB / 351.5 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.05204, allocations: 343 kB / 351.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.05386, allocations: 2.013 MB / 353.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.05386, allocations: 0 / 353.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.616e-06/0.05386, allocations: 4 kB / 353.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.05387, allocations: 0 / 353.9 MB, free: 15.11 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001216/0.05509, allocations: 1.397 MB / 355.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.05512, allocations: 12.03 kB / 355.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004261/0.05555, allocations: 432.5 kB / 355.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.05606, allocations: 0.5046 MB / 356.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/0.05615, allocations: 137.9 kB / 356.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.05622, allocations: 80.38 kB / 356.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.05703, allocations: 0.9816 MB / 357.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.05704, allocations: 192 / 357.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.05708, allocations: 36.12 kB / 357.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-05/0.05718, allocations: 130.1 kB / 357.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.05839, allocations: 1.312 MB / 358.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.06271, allocations: 3.23 MB / 362.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.06303, allocations: 235.1 kB / 362.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.06315, allocations: 112.8 kB / 362.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002095/0.06524, allocations: 1.795 MB / 364.3 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.06527, allocations: 34.84 kB / 364.3 MB, free: 4.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.06527, allocations: 4 kB / 364.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.007653/0.07292, allocations: 3.071 MB / 367.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.07296, allocations: 55.41 kB / 367.4 MB, free: 1.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.07356, allocations: 0.601 MB / 368 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.07361, allocations: 29.7 kB / 368.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.07392, allocations: 0.5587 MB / 368.6 MB, free: 36 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.07409, allocations: 174.6 kB / 368.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.07433, allocations: 186.4 kB / 369 MB, free: 15.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.07449, allocations: 398.6 kB / 369.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.0747, allocations: 117.9 kB / 369.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.0751, allocations: 496.4 kB / 370 MB, free: 14.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.07591, allocations: 0.7126 MB / 370.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.07591, allocations: 8 kB / 370.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00201/0.07792, allocations: 0.9571 MB / 371.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.07795, allocations: 15.98 kB / 371.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.07796, allocations: 12 kB / 371.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/0.08074, allocations: 0.8105 MB / 372.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/0.08143, allocations: 271.6 kB / 372.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/0.08559, allocations: 3.547 MB / 376.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.08624, allocations: 39.98 kB / 376.3 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.08635, allocations: 87.98 kB / 376.4 MB, free: 7.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000493/0.08685, allocations: 184.4 kB / 376.6 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.08702, allocations: 71.95 kB / 376.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.089, allocations: 0.9571 MB / 377.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.089, allocations: 4 kB / 377.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.08901, allocations: 0 / 377.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.08901, allocations: 3.984 kB / 377.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007908/0.0898, allocations: 0.7105 MB / 378.3 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.08981, allocations: 0 / 378.3 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.09029, allocations: 176 kB / 378.5 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.09278, allocations: 0.7164 MB / 379.2 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.09283, allocations: 23.92 kB / 379.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.09546, allocations: 3.319 MB / 382.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.09546, allocations: 4 kB / 382.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.09723, allocations: 0.9479 MB / 383.5 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.09734, allocations: 67.48 kB / 383.6 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.0974, allocations: 15.98 kB / 383.6 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.0976, allocations: 20.03 kB / 383.6 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.0977, allocations: 60.28 kB / 383.7 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.09776, allocations: 36.03 kB / 383.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002328/0.09799, allocations: 272.5 kB / 384 MB, free: 15.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09799, allocations: 0 / 384 MB, free: 15.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008843/0.09888, allocations: 299.7 kB / 384.3 MB, free: 15.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004575/0.09934, allocations: 341 kB / 384.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1005, allocations: 0.8021 MB / 385.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.18e-05/0.1005, allocations: 8.5 kB / 385.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.1011, allocations: 0.5059 MB / 385.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.1016, allocations: 202.8 kB / 386.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.1043, allocations: 1.985 MB / 388.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.1045, allocations: 239.6 kB / 388.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000572/0.1051, allocations: 278.5 kB / 388.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.1055, allocations: 269.2 kB / 388.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1055, allocations: 0 / 388.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.02584/0.1313, allocations: 22.53 MB / 411.4 MB, free: 4.266 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4225911712273955]