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.001397/0.001397, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001574/0.001574, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.1381/0.1381, allocations: 17.36 MB / 276.9 MB, free: 11.67 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.933e-06/1.933e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.469e-05, allocations: 10.25 kB / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005951/0.005985, allocations: 3.221 MB / 355.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007306/0.01329, allocations: 4.234 MB / 360.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.01375, allocations: 7.938 kB / 360.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.01435, allocations: 111.1 kB / 360.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.01602, allocations: 468.5 kB / 360.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.0178, allocations: 0.5475 MB / 361.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.01897, allocations: 0.5997 MB / 361.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.01959, allocations: 317 kB / 362.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.02048, allocations: 411.2 kB / 362.6 MB, free: 420 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.02119, allocations: 239.4 kB / 362.8 MB, free: 180 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.02136, allocations: 52 kB / 362.9 MB, free: 128 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.02317, allocations: 447.2 kB / 363.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.02341, allocations: 123.6 kB / 363.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.02379, allocations: 195.6 kB / 363.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.02635, allocations: 1.133 MB / 364.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.02635, allocations: 4 kB / 364.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02635, allocations: 0 / 364.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.02638, allocations: 0 / 364.7 MB, free: 14.23 MB / 298.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.001988/0.02836, allocations: 0.7929 MB / 365.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.02841, allocations: 8.031 kB / 365.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006225/0.02903, allocations: 156.2 kB / 365.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.0298, allocations: 308.4 kB / 366 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.02986, allocations: 37.38 kB / 366 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.02997, allocations: 56.31 kB / 366.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/0.03095, allocations: 454.9 kB / 366.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.03097, allocations: 192 / 366.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.03102, allocations: 16.38 kB / 366.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.03104, allocations: 15.94 kB / 366.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.03208, allocations: 0.5075 MB / 367.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.03492, allocations: 1.144 MB / 368.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.03579, allocations: 334.6 kB / 368.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.03602, allocations: 108.8 kB / 368.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002348/0.03837, allocations: 0.8936 MB / 369.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.03841, allocations: 30.56 kB / 369.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.03841, allocations: 0 / 369.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.01684/0.05525, allocations: 2.136 MB / 371.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.05532, allocations: 59.39 kB / 371.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.05583, allocations: 276.1 kB / 372 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.0559, allocations: 29.7 kB / 372.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.05619, allocations: 284 kB / 372.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.05636, allocations: 111 kB / 372.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.05654, allocations: 86.12 kB / 372.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.05678, allocations: 342.8 kB / 372.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.05709, allocations: 136.9 kB / 373 MB, free: 5.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.05753, allocations: 264.5 kB / 373.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.05831, allocations: 428.9 kB / 373.7 MB, free: 4.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.05832, allocations: 0 / 373.7 MB, free: 4.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004725/0.06304, allocations: 0.8352 MB / 374.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.06307, allocations: 4 kB / 374.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.06308, allocations: 8.531 kB / 374.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00648/0.06956, allocations: 0.6611 MB / 375.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.06991, allocations: 79.91 kB / 375.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.07776, allocations: 3.706 MB / 379 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.07819, allocations: 19.94 kB / 379 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.07827, allocations: 24.03 kB / 379 MB, free: 15.38 MB / 314.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.0003498/0.07862, allocations: 169.8 kB / 379.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.0788, allocations: 47.7 kB / 379.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005428/0.08422, allocations: 0.8311 MB / 380.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.08423, allocations: 0 / 380.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.08424, allocations: 4 kB / 380.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.08425, allocations: 7.812 kB / 380.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.0852, allocations: 498.1 kB / 380.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.0852, allocations: 256 / 380.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.08542, allocations: 51.92 kB / 380.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00823/0.09365, allocations: 0.7986 MB / 381.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.09372, allocations: 15.98 kB / 381.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008963/0.1027, allocations: 4.893 MB / 386.3 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1027, allocations: 0 / 386.3 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/0.1086, allocations: 1.131 MB / 387.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.1087, allocations: 31.8 kB / 387.5 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.1088, allocations: 8 kB / 387.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.1091, allocations: 12 kB / 387.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1092, allocations: 51.8 kB / 387.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.1093, allocations: 19.98 kB / 387.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.1096, allocations: 183.1 kB / 387.7 MB, free: 6.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1096, allocations: 4.062 kB / 387.7 MB, free: 6.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001005/0.1106, allocations: 239.5 kB / 388 MB, free: 5.949 MB / 314.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.0007076/0.1113, allocations: 295.3 kB / 388.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.1129, allocations: 0.6581 MB / 388.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.1129, allocations: 4 kB / 388.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.1141, allocations: 0.5942 MB / 389.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.1148, allocations: 120.8 kB / 389.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.117, allocations: 0.9754 MB / 390.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1173, allocations: 220.3 kB / 390.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.1176, allocations: 79.44 kB / 390.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.1177, allocations: 56.47 kB / 391 MB, free: 2.824 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1177, allocations: 3.938 kB / 391 MB, free: 2.82 MB / 314.7 MB Notification: Performance of Templates: time 0.02354/0.1413, allocations: 11.75 MB / 402.7 MB, free: 7.16 MB / 330.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.292501174961217]