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.001057/0.001057, allocations: 93.06 kB / 19.65 MB, free: 280 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.001845/0.001845, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.09501/0.09501, allocations: 17.39 MB / 277.3 MB, free: 11.64 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.693e-06/1.693e-06, allocations: 0 / 353.4 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.945e-05, allocations: 4.703 kB / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004761/0.00479, allocations: 3.489 MB / 356.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.01059, allocations: 4.787 MB / 361.7 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.01096, allocations: 11.88 kB / 361.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.0114, allocations: 103.1 kB / 361.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.01255, allocations: 464.5 kB / 362.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.01379, allocations: 0.5515 MB / 362.8 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008121/0.0146, allocations: 0.6075 MB / 363.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.01503, allocations: 309 kB / 363.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.01548, allocations: 419.2 kB / 364.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.01583, allocations: 251.4 kB / 364.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.0159, allocations: 56 kB / 364.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009746/0.01688, allocations: 455.1 kB / 364.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.01699, allocations: 127.5 kB / 365 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.01719, allocations: 199.5 kB / 365.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.01847, allocations: 0.9221 MB / 366.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01848, allocations: 3.938 kB / 366.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01848, allocations: 0 / 366.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01849, allocations: 0 / 366.1 MB, free: 13.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.00123/0.01972, allocations: 0.8925 MB / 367 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.01976, allocations: 12.03 kB / 367 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.02018, allocations: 148.3 kB / 367.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.02064, allocations: 327.1 kB / 367.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.02067, allocations: 37.38 kB / 367.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.02074, allocations: 52.33 kB / 367.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.0213, allocations: 358.9 kB / 367.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.02131, allocations: 192 / 367.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.02136, allocations: 20.38 kB / 368 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.02137, allocations: 11.94 kB / 368 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.02194, allocations: 353.7 kB / 368.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.0238, allocations: 1.159 MB / 369.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.0244, allocations: 329 kB / 369.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.02453, allocations: 79.66 kB / 369.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.026, allocations: 0.9519 MB / 370.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.02603, allocations: 37.39 kB / 370.9 MB, free: 8.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.274e-06/0.02603, allocations: 3.938 kB / 370.9 MB, free: 8.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.008269/0.0343, allocations: 1.976 MB / 372.8 MB, free: 6.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.03434, allocations: 55.41 kB / 372.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.03462, allocations: 326.2 kB / 373.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.03465, allocations: 33.7 kB / 373.2 MB, free: 5.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.03482, allocations: 334.8 kB / 373.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.0349, allocations: 111 kB / 373.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.03503, allocations: 87.8 kB / 373.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.03517, allocations: 0.5118 MB / 374.3 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.03535, allocations: 105.7 kB / 374.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.03561, allocations: 275.4 kB / 374.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.03609, allocations: 411.7 kB / 375 MB, free: 3.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.03609, allocations: 4 kB / 375.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00235/0.03844, allocations: 0.7238 MB / 375.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.03846, allocations: 4 kB / 375.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.03847, allocations: 4 kB / 375.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/0.04113, allocations: 0.628 MB / 376.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.0413, allocations: 79.84 kB / 376.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.04495, allocations: 4.139 MB / 380.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.04526, allocations: 28.03 kB / 380.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.0453, allocations: 16 kB / 380.7 MB, free: 13.98 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.0002246/0.04552, allocations: 192.3 kB / 380.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.04563, allocations: 39.81 kB / 380.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.04774, allocations: 0.749 MB / 381.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.04774, allocations: 0 / 381.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.04775, allocations: 4 kB / 381.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.04775, allocations: 4 kB / 381.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.04831, allocations: 488.3 kB / 382.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.04832, allocations: 4 kB / 382.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.04843, allocations: 55.91 kB / 382.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.05146, allocations: 0.768 MB / 383 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.0515, allocations: 16 kB / 383 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/0.05565, allocations: 5.831 MB / 388.8 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.05566, allocations: 3.938 kB / 388.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.05804, allocations: 1.025 MB / 389.8 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.05812, allocations: 35.75 kB / 389.9 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.05816, allocations: 12 kB / 389.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.05828, allocations: 8 kB / 389.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.0584, allocations: 43.95 kB / 389.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.05843, allocations: 16 kB / 389.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.05861, allocations: 218.9 kB / 390.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05861, allocations: 0 / 390.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007298/0.05934, allocations: 235.5 kB / 390.4 MB, free: 3.691 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.0004516/0.05979, allocations: 307.2 kB / 390.7 MB, free: 3.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.06067, allocations: 0.7198 MB / 391.4 MB, free: 2.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.06067, allocations: 0 / 391.4 MB, free: 2.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.06121, allocations: 0.755 MB / 392.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.06165, allocations: 119.9 kB / 392.3 MB, free: 1.699 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.001701/0.06335, allocations: 0.9753 MB / 393.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.715e-05/0.06344, allocations: 117.8 kB / 393.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.06361, allocations: 67.27 kB / 393.4 MB, free: 468 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/0.0637, allocations: 60.47 kB / 393.5 MB, free: 408 kB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.0637, allocations: 0 / 393.5 MB, free: 408 kB / 314.7 MB Notification: Performance of Templates: time 0.01595/0.07965, allocations: 13.08 MB / 406.6 MB, free: 3.414 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.489977045916021]