Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.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.0006853/0.0006853, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009106/0.001596, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000685/0.000685, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001623, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9052/0.9052, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08107/0.9863, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04437/0.04437, allocations: 11.72 MB / 255.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004571/0.04894, allocations: 3.088 MB / 259 MB, free: 0.7031 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.517e-05, allocations: 2.312 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane): time 0.1445/0.1445, allocations: 59.24 MB / 319.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.1618, allocations: 27.31 MB / 346.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.1619, allocations: 0 / 346.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.1623, allocations: 222.8 kB / 347.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03301/0.1953, allocations: 18.66 MB / 365.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1956, allocations: 207.1 kB / 365.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1958, allocations: 242.9 kB / 366.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.1958, allocations: 9.953 kB / 366.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.196, allocations: 163.6 kB / 366.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.1961, allocations: 51.83 kB / 366.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1961, allocations: 4 kB / 366.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02296/0.219, allocations: 18.56 MB / 384.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.2191, allocations: 13.31 kB / 385 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.2191, allocations: 39.88 kB / 385 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009797/0.2289, allocations: 6.698 MB / 391.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.2289, allocations: 0 / 391.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2289, allocations: 0 / 391.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2289, allocations: 0 / 391.7 MB, free: 15.64 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.002084/0.231, allocations: 2.048 MB / 393.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.2311, allocations: 12.03 kB / 393.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.2312, allocations: 45.16 kB / 393.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2313, allocations: 129.7 kB / 393.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2313, allocations: 7.938 kB / 393.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2313, allocations: 8 kB / 393.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2314, allocations: 98.09 kB / 394 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.2314, allocations: 0 / 394 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2315, allocations: 4.516 kB / 394 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2315, allocations: 0 / 394 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.2315, allocations: 34.27 kB / 394.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.2318, allocations: 348.6 kB / 394.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.2319, allocations: 85.66 kB / 394.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.2319, allocations: 38.38 kB / 394.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02184/0.2538, allocations: 19.24 MB / 413.8 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2538, allocations: 34.56 kB / 413.8 MB, free: 9.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.2538, allocations: 0 / 413.8 MB, free: 9.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001925/0.254, allocations: 124.1 kB / 413.9 MB, free: 9.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.254, allocations: 85.05 kB / 414 MB, free: 9.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.2541, allocations: 120.5 kB / 414.1 MB, free: 9.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2541, allocations: 29.7 kB / 414.2 MB, free: 8.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.2541, allocations: 92.61 kB / 414.3 MB, free: 8.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.2542, allocations: 87.16 kB / 414.3 MB, free: 8.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.2542, allocations: 37.67 kB / 414.4 MB, free: 8.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000309/0.2545, allocations: 326.8 kB / 414.7 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.2545, allocations: 12 kB / 414.7 MB, free: 8.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.2546, allocations: 37.69 kB / 414.7 MB, free: 8.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.2546, allocations: 73.91 kB / 414.8 MB, free: 8.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2546, allocations: 0 / 414.8 MB, free: 8.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 8.906e-05/0.2547, allocations: 101.6 kB / 414.9 MB, free: 8.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2547, allocations: 8 kB / 414.9 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2547, allocations: 0 / 414.9 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2547, allocations: 3.984 kB / 414.9 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.2548, allocations: 23.94 kB / 414.9 MB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.2548, allocations: 7.938 kB / 415 MB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.2548, allocations: 18.45 kB / 415 MB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2548, allocations: 4 kB / 415 MB, free: 8.133 MB / 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 5.753e-05/0.2549, allocations: 117.8 kB / 415.1 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.2549, allocations: 8 kB / 415.1 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009652/0.2559, allocations: 1.479 MB / 416.6 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006947/0.2566, allocations: 1.101 MB / 417.7 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2566, allocations: 0 / 417.7 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2566, allocations: 3.938 kB / 417.7 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.2579, allocations: 2.018 MB / 419.7 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2579, allocations: 3.984 kB / 419.7 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.258, allocations: 47.92 kB / 419.8 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.258, allocations: 91.09 kB / 419.8 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.258, allocations: 0 / 419.8 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.258, allocations: 8 kB / 419.8 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.258, allocations: 0 / 419.8 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.258, allocations: 3.938 kB / 419.9 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2591, allocations: 1.722 MB / 421.6 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2591, allocations: 8 kB / 421.6 MB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.2591, allocations: 4 kB / 421.6 MB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.2592, allocations: 15.97 kB / 421.6 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.2592, allocations: 8 kB / 421.6 MB, free: 1.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.824e-05/0.2592, allocations: 16.84 kB / 421.6 MB, free: 1.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2592, allocations: 0 / 421.6 MB, free: 1.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00163/0.2608, allocations: 1.133 MB / 422.8 MB, free: 288 kB / 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.1012/0.362, allocations: 2.219 MB / 425 MB, free: 92.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3625, allocations: 440.2 kB / 425.4 MB, free: 92.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.3625, allocations: 3.547 kB / 425.4 MB, free: 92.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.3628, allocations: 389.4 kB / 425.8 MB, free: 92.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.3633, allocations: 334.8 kB / 426.1 MB, free: 92.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3665, allocations: 1.431 MB / 427.5 MB, free: 91.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3666, allocations: 169.5 kB / 427.7 MB, free: 91.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.794e-05/0.3667, allocations: 27.97 kB / 427.7 MB, free: 91.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3669, allocations: 143 kB / 427.9 MB, free: 91.59 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.3669, allocations: 4.969 kB / 427.9 MB, free: 91.59 MB / 394.7 MB Notification: Performance of Templates: time 0.02461/0.3915, allocations: 33.2 MB / 461.1 MB, free: 80.43 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5318943597376347]