Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.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.001322/0.001322, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001505/0.001505, allocations: 165 kB / 24.22 MB, free: 244 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 0.882/0.882, allocations: 177.2 MB / 204.7 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04447/0.04447, allocations: 11.41 MB / 272.6 MB, free: 2.188 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 291.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.183e-05, allocations: 4.469 kB / 291.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide): time 0.03742/0.03743, allocations: 59.34 MB / 351.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.05476, allocations: 25.9 MB / 377 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.0548, allocations: 0 / 377 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.05538, allocations: 227 kB / 377.2 MB, free: 3.453 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0303/0.08568, allocations: 18.6 MB / 395.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.0859, allocations: 143.5 kB / 395.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.08607, allocations: 250.8 kB / 396.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.08612, allocations: 13.81 kB / 396.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.08626, allocations: 147.6 kB / 396.3 MB, free: 240 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.08633, allocations: 51.83 kB / 396.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.08635, allocations: 4 kB / 396.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02288/0.1092, allocations: 18.08 MB / 414.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.1092, allocations: 15.84 kB / 414.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.1093, allocations: 43.86 kB / 414.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.1211, allocations: 7.686 MB / 422.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1211, allocations: 0 / 422.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1211, allocations: 4 kB / 422.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1211, allocations: 0 / 422.2 MB, free: 6.301 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001704/0.1228, allocations: 1.319 MB / 423.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1228, allocations: 12.03 kB / 423.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.123, allocations: 51.83 kB / 423.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1231, allocations: 125.1 kB / 423.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1231, allocations: 7.938 kB / 423.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1231, allocations: 9.219 kB / 423.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1232, allocations: 90.17 kB / 423.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1232, allocations: 0 / 423.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1232, allocations: 4 kB / 423.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1232, allocations: 4 kB / 423.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.256e-05/0.1233, allocations: 44.33 kB / 423.9 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.1236, allocations: 336.8 kB / 424.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.1237, allocations: 81.06 kB / 424.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.1237, allocations: 44.78 kB / 424.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02189/0.1456, allocations: 18.76 MB / 443.1 MB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1456, allocations: 38.5 kB / 443.1 MB, free: 1.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.1456, allocations: 0 / 443.1 MB, free: 1.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002182/0.1459, allocations: 131.3 kB / 443.3 MB, free: 1.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1459, allocations: 85.05 kB / 443.3 MB, free: 1.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.146, allocations: 115.2 kB / 443.4 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.146, allocations: 25.7 kB / 443.5 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.146, allocations: 96.58 kB / 443.6 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1461, allocations: 79.25 kB / 443.6 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1461, allocations: 37.69 kB / 443.7 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.1462, allocations: 326.8 kB / 444 MB, free: 328 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.1462, allocations: 16 kB / 444 MB, free: 312 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.1462, allocations: 41.67 kB / 444.1 MB, free: 264 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.039e-05/0.1463, allocations: 72.48 kB / 444.1 MB, free: 188 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1463, allocations: 0 / 444.1 MB, free: 188 kB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.03e-05/0.1464, allocations: 103.9 kB / 444.2 MB, free: 80 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1464, allocations: 7.984 kB / 444.2 MB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1464, allocations: 0 / 444.2 MB, free: 72 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1464, allocations: 7.875 kB / 444.2 MB, free: 64 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.1464, allocations: 23.94 kB / 444.3 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.1464, allocations: 0 / 444.3 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.1465, allocations: 11.89 kB / 444.3 MB, free: 28 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1465, allocations: 4 kB / 444.3 MB, free: 24 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1121/0.2586, allocations: 110.1 kB / 444.4 MB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.2586, allocations: 12.56 kB / 444.4 MB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.2599, allocations: 1.472 MB / 445.9 MB, free: 97.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008988/0.2608, allocations: 1.103 MB / 447 MB, free: 97.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2608, allocations: 0.6094 kB / 447 MB, free: 97.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2608, allocations: 3.422 kB / 447 MB, free: 97.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.2623, allocations: 2.018 MB / 449 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2623, allocations: 5.516 kB / 449 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.2624, allocations: 36.61 kB / 449 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2624, allocations: 1.922 kB / 449 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2624, allocations: 9.094 kB / 449.1 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2624, allocations: 6.875 kB / 449.1 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2624, allocations: 3.75 kB / 449.1 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2636, allocations: 1.699 MB / 450.8 MB, free: 96.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.2636, allocations: 88.2 kB / 450.9 MB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2637, allocations: 8.984 kB / 450.9 MB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.2637, allocations: 6.688 kB / 450.9 MB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.2638, allocations: 18.95 kB / 450.9 MB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2638, allocations: 5.531 kB / 450.9 MB, free: 96.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.729e-05/0.2638, allocations: 22.05 kB / 450.9 MB, free: 96.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2638, allocations: 0 / 450.9 MB, free: 96.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001521/0.2653, allocations: 1.047 MB / 452 MB, free: 96.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 8 (state_h.phase,$cse3.sat.vap.phase,$cse3.sat.liq.phase,$cse4.phase,state_p.phase,$cse1.sat.vap.phase,$cse1.sat.liq.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/0.2674, allocations: 1.881 MB / 453.8 MB, free: 96.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.2677, allocations: 439.4 kB / 454.3 MB, free: 96.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2677, allocations: 6.812 kB / 454.3 MB, free: 96.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.2679, allocations: 358.4 kB / 454.6 MB, free: 96.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.2684, allocations: 155.2 kB / 454.8 MB, free: 96.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2696, allocations: 1.45 MB / 456.2 MB, free: 96.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.961e-05/0.2697, allocations: 169.8 kB / 456.4 MB, free: 96.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.606e-05/0.2698, allocations: 27.78 kB / 456.4 MB, free: 96.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.2699, allocations: 142.7 kB / 456.6 MB, free: 96.11 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2699, allocations: 2.516 kB / 456.6 MB, free: 96.11 MB / 394.7 MB Notification: Performance of Templates: time 0.02302/0.293, allocations: 31.41 MB / 488 MB, free: 77 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.616880432702601]