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.00114/0.00114, allocations: 80.88 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.001287/0.001287, allocations: 181 kB / 23.36 MB, free: 1.137 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 1.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1014/0.1014, allocations: 17.39 MB / 277.6 MB, free: 11.55 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 300.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.914e-05, allocations: 2.312 kB / 300.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.008212/0.008231, allocations: 3.508 MB / 304.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.014, allocations: 4.749 MB / 308.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.01424, allocations: 7.938 kB / 308.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.01459, allocations: 119 kB / 309 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009485/0.01554, allocations: 456.5 kB / 309.5 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.01656, allocations: 0.5397 MB / 310 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006045/0.01717, allocations: 0.6075 MB / 310.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.01754, allocations: 326.9 kB / 310.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000383/0.01792, allocations: 411.2 kB / 311.3 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.01824, allocations: 247.4 kB / 311.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.0183, allocations: 52 kB / 311.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.01904, allocations: 475.1 kB / 312.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.01914, allocations: 123.6 kB / 312.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.01929, allocations: 207.5 kB / 312.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009947/0.02029, allocations: 0.9104 MB / 313.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02029, allocations: 3.938 kB / 313.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02029, allocations: 4 kB / 313.3 MB, free: 7.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.0203, allocations: 0 / 313.3 MB, free: 7.602 MB / 282.7 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.00097/0.02127, allocations: 0.7797 MB / 314.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.02131, allocations: 8.031 kB / 314.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.02161, allocations: 136.3 kB / 314.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.02195, allocations: 272.5 kB / 314.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.02198, allocations: 33.38 kB / 314.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.02203, allocations: 44.38 kB / 314.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.02236, allocations: 326.9 kB / 314.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.02237, allocations: 192 / 314.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.0224, allocations: 20.36 kB / 314.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.02241, allocations: 15.94 kB / 315 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.02269, allocations: 254.8 kB / 315.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.02398, allocations: 0.9478 MB / 316.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.02438, allocations: 286.5 kB / 316.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.02445, allocations: 60.78 kB / 316.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.0256, allocations: 0.7828 MB / 317.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.02562, allocations: 38.56 kB / 317.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.02563, allocations: 4 kB / 317.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.006041/0.03167, allocations: 1.9 MB / 319.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.0317, allocations: 59.41 kB / 319.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.03186, allocations: 258.9 kB / 319.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.03189, allocations: 29.7 kB / 319.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.032, allocations: 264.5 kB / 319.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.03208, allocations: 115 kB / 319.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.03217, allocations: 78.16 kB / 320 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.03227, allocations: 346.7 kB / 320.3 MB, free: 388 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.03235, allocations: 73.67 kB / 320.4 MB, free: 312 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.03248, allocations: 192.6 kB / 320.6 MB, free: 64 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.03274, allocations: 300.7 kB / 320.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.03275, allocations: 4 kB / 320.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001523/0.03427, allocations: 0.5893 MB / 321.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.03429, allocations: 14.12 kB / 321.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.0343, allocations: 4 kB / 321.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/0.03652, allocations: 0.6031 MB / 322.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.03669, allocations: 91.84 kB / 322.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.0395, allocations: 2.937 MB / 325.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.03964, allocations: 19.95 kB / 325.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.03967, allocations: 19.98 kB / 325.2 MB, free: 11.24 MB / 298.7 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.0001186/0.03979, allocations: 144.5 kB / 325.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.03984, allocations: 23.98 kB / 325.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.04165, allocations: 0.6324 MB / 326 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.04166, allocations: 4 kB / 326 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.04166, allocations: 7.938 kB / 326 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.04167, allocations: 0 / 326 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.04203, allocations: 403.8 kB / 326.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.04203, allocations: 4.031 kB / 326.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.04214, allocations: 59.91 kB / 326.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/0.04491, allocations: 0.7399 MB / 327.2 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.04494, allocations: 20 kB / 327.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/0.0481, allocations: 4.041 MB / 331.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.0481, allocations: 4 kB / 331.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.05006, allocations: 0.8111 MB / 332.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.0501, allocations: 35.75 kB / 332.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.05013, allocations: 15.94 kB / 332.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.05025, allocations: 8 kB / 332.1 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.05038, allocations: 51.8 kB / 332.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.0504, allocations: 12.03 kB / 332.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.05048, allocations: 92.62 kB / 332.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05048, allocations: 0 / 332.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006676/0.05115, allocations: 239.5 kB / 332.5 MB, free: 3.504 MB / 298.7 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.0004114/0.05156, allocations: 300.9 kB / 332.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005884/0.05215, allocations: 0.5389 MB / 333.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.05216, allocations: 4 kB / 333.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.05257, allocations: 0.5669 MB / 333.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.05292, allocations: 117.8 kB / 334 MB, free: 1.918 MB / 298.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.05441, allocations: 0.9531 MB / 335 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.05452, allocations: 121.8 kB / 335.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.05469, allocations: 62.02 kB / 335.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.0549, allocations: 157.2 kB / 335.3 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.0549, allocations: 0 / 335.3 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of Templates: time 0.01621/0.07111, allocations: 13.18 MB / 348.5 MB, free: 3.48 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2902399539016187]