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.001197/0.001197, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001621/0.001621, allocations: 169 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.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.09629/0.09629, allocations: 17.38 MB / 278.4 MB, free: 11.48 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.533e-06/1.533e-06, allocations: 0 / 354.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.829e-05, allocations: 2.312 kB / 354.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.01054/0.01057, allocations: 3.454 MB / 358.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.01871, allocations: 4.666 MB / 362.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.01907, allocations: 15.88 kB / 362.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.02246, allocations: 107.1 kB / 362.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.02377, allocations: 460.5 kB / 363.4 MB, free: 2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.02493, allocations: 0.5553 MB / 363.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.02864, allocations: 0.6036 MB / 364.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.02901, allocations: 309 kB / 364.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.02943, allocations: 415.2 kB / 365.2 MB, free: 128 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.0298, allocations: 251.4 kB / 365.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.02987, allocations: 52 kB / 365.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.03095, allocations: 459.1 kB / 366 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.03106, allocations: 119.6 kB / 366.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003211/0.03427, allocations: 203.5 kB / 366.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.03578, allocations: 0.926 MB / 367.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.03578, allocations: 0 / 367.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03578, allocations: 0 / 367.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.03579, allocations: 0 / 367.2 MB, free: 14.13 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.001151/0.03694, allocations: 0.9082 MB / 368.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.03698, allocations: 8.031 kB / 368.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.0404, allocations: 152.3 kB / 368.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.04083, allocations: 315.2 kB / 368.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.04086, allocations: 37.38 kB / 368.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.04093, allocations: 48.38 kB / 368.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.04137, allocations: 322.9 kB / 369 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.04138, allocations: 192 / 369 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.04142, allocations: 20.38 kB / 369 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.04143, allocations: 15.94 kB / 369 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.04184, allocations: 286.7 kB / 369.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.04695, allocations: 1.186 MB / 370.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.04748, allocations: 314.8 kB / 370.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.04758, allocations: 71.66 kB / 370.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.049, allocations: 0.9444 MB / 371.8 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.04903, allocations: 33.39 kB / 371.8 MB, free: 9.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.04903, allocations: 0 / 371.8 MB, free: 9.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.009324/0.05835, allocations: 1.854 MB / 373.7 MB, free: 7.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.05839, allocations: 55.41 kB / 373.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.05858, allocations: 330 kB / 374.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.05861, allocations: 29.7 kB / 374.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.05875, allocations: 326.8 kB / 374.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.05882, allocations: 119 kB / 374.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.05892, allocations: 91.77 kB / 374.6 MB, free: 6.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.05907, allocations: 0.5156 MB / 375.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.05917, allocations: 85.64 kB / 375.2 MB, free: 5.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.05936, allocations: 259.5 kB / 375.5 MB, free: 5.504 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.05966, allocations: 363.7 kB / 375.8 MB, free: 5.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.05966, allocations: 4 kB / 375.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001792/0.06145, allocations: 0.6729 MB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.06147, allocations: 8.531 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.06148, allocations: 8 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.064, allocations: 0.6236 MB / 377.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.06417, allocations: 75.91 kB / 377.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.06789, allocations: 4.078 MB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.06812, allocations: 15.94 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.06815, allocations: 27.98 kB / 381.3 MB, free: 15.31 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.0001626/0.06831, allocations: 184.4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.06839, allocations: 39.81 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.07043, allocations: 0.6944 MB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.07044, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.07044, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.07045, allocations: 4.031 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.07095, allocations: 0.5076 MB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.07095, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.07106, allocations: 47.92 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003513/0.07457, allocations: 0.7639 MB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.0746, allocations: 15.98 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004954/0.07956, allocations: 5.736 MB / 389.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.07956, allocations: 7.938 kB / 389.3 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.0824, allocations: 0.9593 MB / 390.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.08247, allocations: 35.77 kB / 390.3 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.08252, allocations: 11.94 kB / 390.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.0827, allocations: 8 kB / 390.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.08281, allocations: 51.94 kB / 390.4 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.08284, allocations: 11.98 kB / 390.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.08298, allocations: 210.9 kB / 390.6 MB, free: 5.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08298, allocations: 0 / 390.6 MB, free: 5.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008227/0.08381, allocations: 235.5 kB / 390.9 MB, free: 5.262 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.0004702/0.08428, allocations: 314.4 kB / 391.2 MB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.08546, allocations: 0.6885 MB / 391.9 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.08547, allocations: 4 kB / 391.9 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.08609, allocations: 0.7354 MB / 392.6 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.08663, allocations: 127 kB / 392.7 MB, free: 3.301 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.001773/0.08841, allocations: 0.9541 MB / 393.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.808e-05/0.0885, allocations: 117.8 kB / 393.8 MB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.08872, allocations: 71.42 kB / 393.9 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.08895, allocations: 178.1 kB / 394 MB, free: 1.906 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.08895, allocations: 0 / 394 MB, free: 1.906 MB / 362.7 MB Notification: Performance of Templates: time 0.01835/0.1073, allocations: 13.44 MB / 407.5 MB, free: 4.57 MB / 378.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.4276775270700455]