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.00143/0.00143, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.001605/0.001605, allocations: 173 kB / 23.27 MB, free: 1.227 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.011/1.011, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.1123/0.1123, allocations: 17.38 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.132e-06/1.132e-06, allocations: 0 / 353.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.93e-05, allocations: 6.25 kB / 353.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003562/0.003581, allocations: 3.457 MB / 357.3 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003908/0.007489, allocations: 4.674 MB / 362 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.007711, allocations: 11.94 kB / 362 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.008029, allocations: 103 kB / 362.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008575/0.008887, allocations: 464.5 kB / 362.6 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.009794, allocations: 0.5592 MB / 363.1 MB, free: 424 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.01035, allocations: 0.6036 MB / 363.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.01065, allocations: 305 kB / 364 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.01099, allocations: 419.2 kB / 364.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.01127, allocations: 251.4 kB / 364.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.01133, allocations: 52 kB / 364.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.01199, allocations: 459.2 kB / 365.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.01209, allocations: 123.6 kB / 365.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.01222, allocations: 199.5 kB / 365.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.01319, allocations: 0.9222 MB / 366.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.0132, allocations: 3.938 kB / 366.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.0132, allocations: 0 / 366.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01321, allocations: 0 / 366.4 MB, free: 13.11 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.0009039/0.01411, allocations: 0.9041 MB / 367.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.01415, allocations: 8.031 kB / 367.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.01443, allocations: 152.3 kB / 367.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.01476, allocations: 319.2 kB / 367.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.01479, allocations: 37.38 kB / 367.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.01484, allocations: 48.33 kB / 367.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.01516, allocations: 319 kB / 368.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.01518, allocations: 192 / 368.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.0152, allocations: 16.38 kB / 368.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.01521, allocations: 15.94 kB / 368.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.01551, allocations: 294.7 kB / 368.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.01682, allocations: 1.182 MB / 369.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.0172, allocations: 311.1 kB / 370 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.01727, allocations: 67.66 kB / 370.1 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.01834, allocations: 0.9465 MB / 371 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.01836, allocations: 41.39 kB / 371 MB, free: 8.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.01836, allocations: 3.938 kB / 371.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.005806/0.02417, allocations: 1.857 MB / 372.9 MB, free: 6.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.0242, allocations: 55.41 kB / 373 MB, free: 6.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.02438, allocations: 322 kB / 373.3 MB, free: 6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.02441, allocations: 37.7 kB / 373.3 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.02453, allocations: 326.8 kB / 373.6 MB, free: 5.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.02459, allocations: 115 kB / 373.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.02468, allocations: 91.77 kB / 373.8 MB, free: 5.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.0248, allocations: 0.5234 MB / 374.4 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.02489, allocations: 85.66 kB / 374.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.02505, allocations: 247.5 kB / 374.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.02532, allocations: 371.7 kB / 375 MB, free: 4.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.02532, allocations: 0 / 375 MB, free: 4.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001621/0.02694, allocations: 0.681 MB / 375.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.02695, allocations: 8.062 kB / 375.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.02696, allocations: 4 kB / 375.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.02928, allocations: 0.6237 MB / 376.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.02942, allocations: 75.91 kB / 376.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.03264, allocations: 4.07 MB / 380.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.03281, allocations: 23.98 kB / 380.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.03284, allocations: 20 kB / 380.6 MB, free: 14.28 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.0001459/0.03299, allocations: 184.3 kB / 380.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.03306, allocations: 51.7 kB / 380.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.03503, allocations: 0.6944 MB / 381.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.03503, allocations: 4 kB / 381.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.03503, allocations: 8 kB / 381.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.03504, allocations: 0 / 381.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.03548, allocations: 496 kB / 382 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.03548, allocations: 0 / 382 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.03558, allocations: 59.84 kB / 382 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/0.03854, allocations: 0.7641 MB / 382.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.03857, allocations: 8 kB / 382.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/0.04244, allocations: 5.747 MB / 388.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04244, allocations: 4 kB / 388.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.04475, allocations: 0.9591 MB / 389.5 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.04481, allocations: 39.73 kB / 389.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.04484, allocations: 15.94 kB / 389.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.04497, allocations: 12.03 kB / 389.6 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.04504, allocations: 43.86 kB / 389.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.04507, allocations: 19.98 kB / 389.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.04517, allocations: 202.9 kB / 389.8 MB, free: 4.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04517, allocations: 4 kB / 389.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.04574, allocations: 239.5 kB / 390.1 MB, free: 4.219 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.0003629/0.04611, allocations: 306.5 kB / 390.4 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.04677, allocations: 0.6885 MB / 391.1 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.04677, allocations: 0 / 391.1 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.04723, allocations: 0.7432 MB / 391.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.04764, allocations: 119.3 kB / 391.9 MB, free: 2.27 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.001405/0.04905, allocations: 0.9599 MB / 392.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.581e-05/0.04914, allocations: 113.8 kB / 393 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.0493, allocations: 78.7 kB / 393.1 MB, free: 1.035 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.0495, allocations: 182.1 kB / 393.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0495, allocations: 0 / 393.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of Templates: time 0.01411/0.06361, allocations: 13.25 MB / 406.5 MB, free: 3.695 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.3643338861875236]