Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001295/0.001295, allocations: 69.89 kB / 20.65 MB, free: 3.852 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.001622/0.001622, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.539 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.08807/0.08807, allocations: 17.46 MB / 278.5 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.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 354.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.45e-05, allocations: 6.25 kB / 354.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003539/0.003564, allocations: 3.456 MB / 358.2 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.007491, allocations: 4.666 MB / 362.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.007778, allocations: 7.938 kB / 362.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.008132, allocations: 115 kB / 363 MB, free: 2.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009437/0.009076, allocations: 464.5 kB / 363.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.01017, allocations: 0.5515 MB / 364 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.01082, allocations: 0.5997 MB / 364.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.01115, allocations: 313 kB / 364.9 MB, free: 304 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.01151, allocations: 419.2 kB / 365.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.01182, allocations: 251.4 kB / 365.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.01188, allocations: 52 kB / 365.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000906/0.01278, allocations: 455.1 kB / 366.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.01289, allocations: 127.6 kB / 366.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.01304, allocations: 203.5 kB / 366.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.01429, allocations: 0.9105 MB / 367.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.0143, allocations: 3.984 kB / 367.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.0143, allocations: 3.938 kB / 367.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01431, allocations: 0 / 367.3 MB, free: 13.9 MB / 346.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.000984/0.01529, allocations: 0.9083 MB / 368.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01533, allocations: 8.031 kB / 368.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.01565, allocations: 156.3 kB / 368.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.01598, allocations: 311.2 kB / 368.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.016, allocations: 37.38 kB / 368.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.01606, allocations: 48.38 kB / 368.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.01639, allocations: 311 kB / 369.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.01641, allocations: 4.188 kB / 369.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.01644, allocations: 20.38 kB / 369.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01645, allocations: 15.94 kB / 369.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.01678, allocations: 294.7 kB / 369.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.01825, allocations: 1.182 MB / 370.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.01868, allocations: 314.9 kB / 370.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.01876, allocations: 67.64 kB / 371 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.01992, allocations: 0.9481 MB / 371.9 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.01995, allocations: 41.39 kB / 372 MB, free: 9.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.01995, allocations: 0 / 372 MB, free: 9.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.006285/0.02624, allocations: 1.853 MB / 373.8 MB, free: 7.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.02627, allocations: 55.41 kB / 373.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.02647, allocations: 326 kB / 374.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.02649, allocations: 29.7 kB / 374.2 MB, free: 6.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.02663, allocations: 330.8 kB / 374.5 MB, free: 6.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.0267, allocations: 119 kB / 374.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.0268, allocations: 91.75 kB / 374.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.02693, allocations: 0.5117 MB / 375.2 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.02702, allocations: 89.64 kB / 375.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.02718, allocations: 247.5 kB / 375.6 MB, free: 5.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.02747, allocations: 367.7 kB / 375.9 MB, free: 4.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.02747, allocations: 0 / 375.9 MB, free: 4.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001764/0.02923, allocations: 0.6806 MB / 376.6 MB, free: 4.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.02925, allocations: 8 kB / 376.6 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.02926, allocations: 4 kB / 376.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/0.03172, allocations: 0.6203 MB / 377.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.03187, allocations: 83.83 kB / 377.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.03537, allocations: 4.082 MB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.03562, allocations: 16 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.03566, allocations: 23.98 kB / 381.4 MB, free: 15.08 MB / 362.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.0002065/0.03586, allocations: 192.3 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.03594, allocations: 39.75 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.03802, allocations: 0.6944 MB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.03802, allocations: 4 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.03802, allocations: 4 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.03803, allocations: 3.984 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.03851, allocations: 0.492 MB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.03852, allocations: 0 / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.03862, allocations: 60.09 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/0.04161, allocations: 0.7561 MB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.04163, allocations: 15.92 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/0.04533, allocations: 5.744 MB / 389.4 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.04534, allocations: 4 kB / 389.5 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.04752, allocations: 0.9632 MB / 390.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.04758, allocations: 27.77 kB / 390.4 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.04761, allocations: 15.92 kB / 390.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.04774, allocations: 16 kB / 390.5 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.04783, allocations: 47.84 kB / 390.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.04785, allocations: 12 kB / 390.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.04796, allocations: 206.9 kB / 390.7 MB, free: 5.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04796, allocations: 7.969 kB / 390.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00065/0.04861, allocations: 239.5 kB / 391 MB, free: 5.02 MB / 362.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.0003958/0.04901, allocations: 298.5 kB / 391.3 MB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000691/0.0497, allocations: 0.6885 MB / 392 MB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.0497, allocations: 0 / 392 MB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.05018, allocations: 0.7432 MB / 392.7 MB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.05059, allocations: 117.2 kB / 392.8 MB, free: 3.078 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.05202, allocations: 0.9445 MB / 393.8 MB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.118e-05/0.0521, allocations: 121.7 kB / 393.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.05226, allocations: 79.27 kB / 394 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.05244, allocations: 182.1 kB / 394.1 MB, free: 1.672 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.05244, allocations: 0 / 394.1 MB, free: 1.672 MB / 362.7 MB Notification: Performance of Templates: time 0.01382/0.06626, allocations: 13.44 MB / 407.6 MB, free: 4.336 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.341287199873477]