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.001082/0.001082, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001021/0.001021, allocations: 177.3 kB / 23.49 MB, free: 1.059 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.108/1.108, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.09713/0.09713, allocations: 17.38 MB / 277.7 MB, free: 11.71 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 2.234e-06/2.234e-06, allocations: 0 / 353.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.054e-05/4.277e-05, allocations: 6.25 kB / 353.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005028/0.005071, allocations: 3.485 MB / 356.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.009188, allocations: 4.756 MB / 361.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.00942, allocations: 11.88 kB / 361.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.009785, allocations: 107.1 kB / 361.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008525/0.01064, allocations: 464.5 kB / 362.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.01173, allocations: 0.5514 MB / 362.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.01228, allocations: 0.6036 MB / 363.4 MB, free: 316 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.01259, allocations: 313 kB / 363.7 MB, free: 0 / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.01292, allocations: 419.2 kB / 364.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.01321, allocations: 247.4 kB / 364.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.01326, allocations: 52 kB / 364.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.01403, allocations: 463.1 kB / 364.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.01414, allocations: 119.6 kB / 365 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01429, allocations: 203.5 kB / 365.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.01528, allocations: 0.9144 MB / 366.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.01529, allocations: 0 / 366.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01529, allocations: 0 / 366.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.0153, allocations: 4 kB / 366.1 MB, free: 13.61 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.001033/0.01633, allocations: 0.9041 MB / 367 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.01637, allocations: 12.03 kB / 367 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.01671, allocations: 144.3 kB / 367.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.01708, allocations: 315.2 kB / 367.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.01711, allocations: 37.38 kB / 367.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.01717, allocations: 52.33 kB / 367.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.0176, allocations: 362.9 kB / 367.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01761, allocations: 192 / 367.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.01764, allocations: 20.38 kB / 367.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01765, allocations: 15.94 kB / 367.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.01809, allocations: 345.7 kB / 368.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01962, allocations: 1.166 MB / 369.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.02012, allocations: 333.2 kB / 369.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.02022, allocations: 79.64 kB / 369.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.02139, allocations: 0.9403 MB / 370.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.02142, allocations: 37.39 kB / 370.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.02142, allocations: 0 / 370.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.006748/0.02817, allocations: 1.981 MB / 372.8 MB, free: 6.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.0282, allocations: 63.39 kB / 372.9 MB, free: 6.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.02843, allocations: 330.2 kB / 373.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.02846, allocations: 29.7 kB / 373.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.02858, allocations: 322.8 kB / 373.5 MB, free: 5.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/0.02866, allocations: 119 kB / 373.6 MB, free: 5.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.02876, allocations: 91.78 kB / 373.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.02888, allocations: 0.5118 MB / 374.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.02902, allocations: 101.6 kB / 374.3 MB, free: 5.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.02923, allocations: 283.4 kB / 374.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.02961, allocations: 403.7 kB / 375 MB, free: 4.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02961, allocations: 0 / 375 MB, free: 4.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001915/0.03152, allocations: 0.7197 MB / 375.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.03154, allocations: 8 kB / 375.7 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.03155, allocations: 8 kB / 375.8 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/0.03406, allocations: 0.6164 MB / 376.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.03423, allocations: 91.83 kB / 376.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.03802, allocations: 4.146 MB / 380.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.0382, allocations: 23.89 kB / 380.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.03823, allocations: 23.98 kB / 380.7 MB, free: 14.34 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.0001482/0.03838, allocations: 188.4 kB / 380.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.03845, allocations: 39.81 kB / 380.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.04061, allocations: 0.7412 MB / 381.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.04062, allocations: 4 kB / 381.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.04063, allocations: 0 / 381.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.04063, allocations: 0 / 381.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.04109, allocations: 0.4923 MB / 382.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.04109, allocations: 0 / 382.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.04119, allocations: 52.17 kB / 382.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.04426, allocations: 0.7638 MB / 382.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.04429, allocations: 15.98 kB / 382.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.0486, allocations: 5.831 MB / 388.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.0486, allocations: 4 kB / 388.8 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.0509, allocations: 1.025 MB / 389.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.05096, allocations: 35.77 kB / 389.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.051, allocations: 8.094 kB / 389.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.05113, allocations: 8 kB / 389.9 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.05125, allocations: 55.78 kB / 389.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.05127, allocations: 19.98 kB / 389.9 MB, free: 4.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.05141, allocations: 219 kB / 390.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05141, allocations: 0 / 390.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006952/0.05211, allocations: 239.5 kB / 390.4 MB, free: 4.051 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.0004331/0.05254, allocations: 294.5 kB / 390.7 MB, free: 3.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000874/0.05342, allocations: 0.7235 MB / 391.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.05342, allocations: 4 kB / 391.4 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.05395, allocations: 0.7512 MB / 392.1 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.05441, allocations: 111.5 kB / 392.3 MB, free: 2.074 MB / 314.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.05616, allocations: 0.9678 MB / 393.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.983e-05/0.05625, allocations: 117.8 kB / 393.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.05643, allocations: 70.8 kB / 393.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.05651, allocations: 56.47 kB / 393.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05651, allocations: 4 kB / 393.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of Templates: time 0.01408/0.07059, allocations: 12.1 MB / 405.6 MB, free: 4.773 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.691019145073369]