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.001377/0.001377, allocations: 88.2 kB / 19.4 MB, free: 0.5039 MB / 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.001667/0.001667, allocations: 168.9 kB / 22.7 MB, free: 1.848 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.007/1.007, allocations: 177.1 MB / 203 MB, free: 5.664 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.1157/0.1157, allocations: 17.39 MB / 276.9 MB, free: 11.73 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.252e-06/1.252e-06, allocations: 0 / 352.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.107e-05, allocations: 10.25 kB / 352.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004068/0.004099, allocations: 3.472 MB / 356.1 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.008417, allocations: 4.76 MB / 360.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.008718, allocations: 11.88 kB / 360.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.00911, allocations: 107.1 kB / 361 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008635/0.009974, allocations: 456.6 kB / 361.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.01097, allocations: 0.5631 MB / 362 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006228/0.01159, allocations: 0.5997 MB / 362.6 MB, free: 372 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.01196, allocations: 316.9 kB / 362.9 MB, free: 52 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.01234, allocations: 415.2 kB / 363.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.01265, allocations: 255.4 kB / 363.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.01271, allocations: 52 kB / 363.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000821/0.01353, allocations: 451.2 kB / 364 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.01363, allocations: 127.5 kB / 364.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.01377, allocations: 203.6 kB / 364.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.0148, allocations: 0.9182 MB / 365.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.01481, allocations: 4 kB / 365.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01481, allocations: 0 / 365.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.01482, allocations: 0 / 365.3 MB, free: 13.65 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.001055/0.01587, allocations: 0.9003 MB / 366.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.01591, allocations: 8.031 kB / 366.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.01624, allocations: 152.2 kB / 366.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.01662, allocations: 315.2 kB / 366.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.01665, allocations: 37.38 kB / 366.7 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.01672, allocations: 48.33 kB / 366.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.01715, allocations: 359 kB / 367.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.01716, allocations: 192 / 367.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.0172, allocations: 16.38 kB / 367.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01721, allocations: 19.88 kB / 367.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.01764, allocations: 349.7 kB / 367.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.01917, allocations: 1.162 MB / 368.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.01964, allocations: 344.8 kB / 368.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.01975, allocations: 75.66 kB / 369 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.02125, allocations: 0.9442 MB / 370 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.02128, allocations: 37.39 kB / 370 MB, free: 8.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.204e-06/0.02128, allocations: 0 / 370 MB, free: 8.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.006611/0.02789, allocations: 1.984 MB / 372 MB, free: 6.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.02793, allocations: 55.41 kB / 372 MB, free: 6.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.02815, allocations: 334.1 kB / 372.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.02818, allocations: 29.7 kB / 372.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.02832, allocations: 326.8 kB / 372.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.02839, allocations: 111 kB / 372.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.02849, allocations: 99.8 kB / 372.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.02863, allocations: 0.5118 MB / 373.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.02876, allocations: 88.95 kB / 373.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.02897, allocations: 279.4 kB / 373.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.02933, allocations: 403.7 kB / 374.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.02934, allocations: 0 / 374.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001824/0.03116, allocations: 0.7278 MB / 374.9 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.03118, allocations: 8 kB / 374.9 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.03119, allocations: 4 kB / 374.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.03367, allocations: 0.6161 MB / 375.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.03383, allocations: 83.84 kB / 375.6 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.03768, allocations: 4.147 MB / 379.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.03789, allocations: 19.92 kB / 379.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.03793, allocations: 20 kB / 379.8 MB, free: 14.41 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.0001862/0.03811, allocations: 180.5 kB / 380 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/0.03819, allocations: 43.77 kB / 380 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.04046, allocations: 0.749 MB / 380.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.04047, allocations: 4 kB / 380.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.04047, allocations: 0 / 380.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.04047, allocations: 0 / 380.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.04097, allocations: 0.4922 MB / 381.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.04097, allocations: 0 / 381.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.04107, allocations: 55.91 kB / 381.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/0.04423, allocations: 0.7641 MB / 382.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.04425, allocations: 12 kB / 382.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.04844, allocations: 5.835 MB / 387.9 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.04845, allocations: 0 / 387.9 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.05086, allocations: 1.029 MB / 389 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.05094, allocations: 39.78 kB / 389 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.05097, allocations: 8 kB / 389 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.0511, allocations: 15.94 kB / 389 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.05119, allocations: 43.86 kB / 389.1 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.05122, allocations: 16 kB / 389.1 MB, free: 4.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.05137, allocations: 211 kB / 389.3 MB, free: 4.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05137, allocations: 0 / 389.3 MB, free: 4.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007294/0.0521, allocations: 239.5 kB / 389.5 MB, free: 4.125 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.0004806/0.05258, allocations: 303.2 kB / 389.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.0536, allocations: 0.7198 MB / 390.5 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.05361, allocations: 4 kB / 390.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.05417, allocations: 0.7511 MB / 391.3 MB, free: 2.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.05462, allocations: 116.6 kB / 391.4 MB, free: 2.137 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.001702/0.05632, allocations: 0.9627 MB / 392.4 MB, free: 1.109 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.733e-05/0.05641, allocations: 121.8 kB / 392.5 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.0566, allocations: 71.41 kB / 392.6 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.05669, allocations: 60.47 kB / 392.6 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of SimCode: time 1.093e-06/0.05669, allocations: 3.938 kB / 392.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of Templates: time 0.01367/0.07036, allocations: 12.1 MB / 404.7 MB, free: 4.836 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.7567390301264822]