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.001379/0.001379, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001712/0.001712, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9797/0.9797, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1042/0.1042, allocations: 17.39 MB / 277.6 MB, free: 11.52 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.863e-06/1.863e-06, allocations: 0 / 300.6 MB, free: 1.855 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.301e-05, allocations: 3.688 kB / 300.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005519/0.005542, allocations: 3.467 MB / 304.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.01258, allocations: 4.753 MB / 308.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.01303, allocations: 11.88 kB / 308.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.01346, allocations: 101.3 kB / 308.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.0148, allocations: 472.4 kB / 309.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.01637, allocations: 0.5553 MB / 310 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008565/0.01722, allocations: 0.5997 MB / 310.6 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.01767, allocations: 322.9 kB / 310.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005502/0.01822, allocations: 419.2 kB / 311.3 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.01865, allocations: 255.4 kB / 311.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.01875, allocations: 52 kB / 311.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000991/0.01974, allocations: 455.2 kB / 312 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.02006, allocations: 123.6 kB / 312.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.02028, allocations: 199.6 kB / 312.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.02177, allocations: 0.9221 MB / 313.3 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.02177, allocations: 0 / 313.3 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02178, allocations: 0 / 313.3 MB, free: 7.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.02179, allocations: 0 / 313.3 MB, free: 7.68 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.001319/0.02311, allocations: 0.7836 MB / 314 MB, free: 6.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.02314, allocations: 12.03 kB / 314.1 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.02354, allocations: 132.3 kB / 314.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.02399, allocations: 268.5 kB / 314.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.02402, allocations: 29.38 kB / 314.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.0241, allocations: 48.38 kB / 314.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.02455, allocations: 330.8 kB / 314.8 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.02456, allocations: 192 / 314.8 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.02459, allocations: 16.38 kB / 314.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.02461, allocations: 19.92 kB / 314.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.02502, allocations: 262.8 kB / 315.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.02674, allocations: 0.9438 MB / 316.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.02727, allocations: 282.4 kB / 316.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/0.02736, allocations: 52.84 kB / 316.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.02885, allocations: 0.7828 MB / 317.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.02888, allocations: 34.56 kB / 317.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.02888, allocations: 0 / 317.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.00855/0.03743, allocations: 1.908 MB / 319.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.03746, allocations: 55.41 kB / 319.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.03791, allocations: 258.9 kB / 319.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.03794, allocations: 33.7 kB / 319.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.03807, allocations: 264.5 kB / 319.7 MB, free: 1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.559e-05/0.03817, allocations: 115 kB / 319.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.03829, allocations: 78.16 kB / 319.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.03842, allocations: 346.7 kB / 320.3 MB, free: 468 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.03855, allocations: 69.69 kB / 320.3 MB, free: 396 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.0388, allocations: 196.6 kB / 320.5 MB, free: 144 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.03922, allocations: 304.7 kB / 320.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.03922, allocations: 4 kB / 320.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002316/0.04154, allocations: 0.5854 MB / 321.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.04156, allocations: 8.531 kB / 321.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.04157, allocations: 8 kB / 321.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/0.04456, allocations: 0.6064 MB / 322 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.04473, allocations: 83.89 kB / 322.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.04747, allocations: 2.925 MB / 325 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.04766, allocations: 15.95 kB / 325.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.04769, allocations: 23.98 kB / 325.1 MB, free: 11.34 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.0001481/0.04784, allocations: 140.5 kB / 325.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.04789, allocations: 27.97 kB / 325.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.04957, allocations: 0.6327 MB / 325.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.04958, allocations: 4 kB / 325.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.04958, allocations: 7.875 kB / 325.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.04959, allocations: 7.922 kB / 325.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.04995, allocations: 399.8 kB / 326.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.04996, allocations: 0 / 326.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/0.05004, allocations: 55.91 kB / 326.3 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.05257, allocations: 0.7439 MB / 327.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.05259, allocations: 12 kB / 327.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003017/0.05561, allocations: 4.041 MB / 331.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.05561, allocations: 3.938 kB / 331.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.05738, allocations: 0.8075 MB / 331.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.05743, allocations: 31.77 kB / 332 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.05746, allocations: 8 kB / 332 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.05758, allocations: 16 kB / 332 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.05766, allocations: 43.89 kB / 332 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.05768, allocations: 19.98 kB / 332.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.05776, allocations: 88.62 kB / 332.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05776, allocations: 0 / 332.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006066/0.05837, allocations: 239.5 kB / 332.4 MB, free: 3.617 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.0004001/0.05877, allocations: 301.5 kB / 332.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.05935, allocations: 0.5467 MB / 333.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.05936, allocations: 4 kB / 333.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.05977, allocations: 0.5669 MB / 333.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.06012, allocations: 114.3 kB / 333.9 MB, free: 2.027 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.001434/0.06156, allocations: 0.9568 MB / 334.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.06164, allocations: 121.8 kB / 335 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000154/0.06179, allocations: 64.25 kB / 335 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.06198, allocations: 157.2 kB / 335.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.06198, allocations: 0 / 335.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of Templates: time 0.0149/0.07687, allocations: 13.17 MB / 348.4 MB, free: 3.59 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.204662716947496]