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.001325/0.001325, allocations: 79.75 kB / 20.11 MB, free: 4.152 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.001521/0.001521, allocations: 156.5 kB / 23.55 MB, free: 0.7188 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 0.9058/0.9058, allocations: 177.2 MB / 204 MB, free: 5.383 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.04765/0.04765, allocations: 11.72 MB / 272.2 MB, free: 1.797 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.693e-06/1.693e-06, allocations: 0 / 291.6 MB, free: 17.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.884e-05, allocations: 2.312 kB / 291.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide): time 0.0418/0.04181, allocations: 59.44 MB / 351 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.05835, allocations: 25.89 MB / 376.9 MB, free: 2.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.0584, allocations: 0 / 376.9 MB, free: 2.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.05892, allocations: 238.9 kB / 377.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03084/0.08977, allocations: 18.6 MB / 395.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.09, allocations: 147.5 kB / 395.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.09017, allocations: 246.8 kB / 396.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.09021, allocations: 13.83 kB / 396.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.09035, allocations: 147.6 kB / 396.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.09042, allocations: 47.89 kB / 396.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.09043, allocations: 0 / 396.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02564/0.1161, allocations: 18.08 MB / 414.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.1161, allocations: 15.86 kB / 414.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.1161, allocations: 35.92 kB / 414.4 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01555/0.1317, allocations: 7.683 MB / 422.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1317, allocations: 3.938 kB / 422.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1317, allocations: 8 kB / 422.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1317, allocations: 0 / 422.1 MB, free: 5.344 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.001694/0.1334, allocations: 1.318 MB / 423.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1334, allocations: 8.031 kB / 423.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.1336, allocations: 59.81 kB / 423.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1337, allocations: 129.6 kB / 423.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1337, allocations: 4 kB / 423.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1337, allocations: 8 kB / 423.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1338, allocations: 90.12 kB / 423.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1338, allocations: 0 / 423.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1338, allocations: 8 kB / 423.8 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1338, allocations: 11.92 kB / 423.8 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.1339, allocations: 35.59 kB / 423.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.1343, allocations: 340.6 kB / 424.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1345, allocations: 77.19 kB / 424.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.1345, allocations: 33.72 kB / 424.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02181/0.1563, allocations: 18.76 MB / 443 MB, free: 352 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1563, allocations: 38.56 kB / 443 MB, free: 304 kB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/0.1563, allocations: 0 / 443 MB, free: 304 kB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002082/0.1565, allocations: 127 kB / 443.2 MB, free: 172 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1566, allocations: 81.11 kB / 443.2 MB, free: 72 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1222/0.2788, allocations: 120.1 kB / 443.4 MB, free: 98.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2788, allocations: 26.7 kB / 443.4 MB, free: 98.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.19e-05/0.2788, allocations: 88.45 kB / 443.5 MB, free: 97.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.2788, allocations: 82.88 kB / 443.5 MB, free: 97.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.2789, allocations: 37.84 kB / 443.6 MB, free: 97.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.088e-05/0.2789, allocations: 325.8 kB / 443.9 MB, free: 97.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.2789, allocations: 16.55 kB / 443.9 MB, free: 97.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.279, allocations: 38.12 kB / 444 MB, free: 97.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.2791, allocations: 69.73 kB / 444 MB, free: 97.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2791, allocations: 1.562 kB / 444 MB, free: 97.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001141/0.2792, allocations: 104.1 kB / 444.1 MB, free: 97.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2792, allocations: 6.375 kB / 444.1 MB, free: 97.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2792, allocations: 5.156 kB / 444.1 MB, free: 97.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.2792, allocations: 0.5938 kB / 444.1 MB, free: 97.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.2793, allocations: 21.53 kB / 444.2 MB, free: 97.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.2793, allocations: 1.656 kB / 444.2 MB, free: 97.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.2793, allocations: 18.09 kB / 444.2 MB, free: 97.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2793, allocations: 3.906 kB / 444.2 MB, free: 97.52 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 4.816e-05/0.2794, allocations: 121 kB / 444.3 MB, free: 97.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2794, allocations: 11.38 kB / 444.3 MB, free: 97.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.2808, allocations: 1.475 MB / 445.8 MB, free: 97.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001022/0.2819, allocations: 1.111 MB / 446.9 MB, free: 97.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2819, allocations: 0 / 446.9 MB, free: 97.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2819, allocations: 4.609 kB / 446.9 MB, free: 97.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.2835, allocations: 2.018 MB / 448.9 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2835, allocations: 3.047 kB / 448.9 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2836, allocations: 39.34 kB / 449 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2836, allocations: 3 kB / 449 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2836, allocations: 6.375 kB / 449 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2836, allocations: 1.812 kB / 449 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2836, allocations: 2.312 kB / 449 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.285, allocations: 1.706 MB / 450.7 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.285, allocations: 89.59 kB / 450.8 MB, free: 96.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.285, allocations: 9.844 kB / 450.8 MB, free: 96.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.2851, allocations: 3.562 kB / 450.8 MB, free: 96.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.2851, allocations: 17.77 kB / 450.8 MB, free: 96.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.2852, allocations: 8.219 kB / 450.8 MB, free: 96.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.775e-05/0.2852, allocations: 19.23 kB / 450.8 MB, free: 96.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2852, allocations: 0 / 450.8 MB, free: 96.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001668/0.2868, allocations: 1.056 MB / 451.9 MB, free: 96.26 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.002348/0.2892, allocations: 1.925 MB / 453.8 MB, free: 96.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.2895, allocations: 443 kB / 454.2 MB, free: 96.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2895, allocations: 0 / 454.2 MB, free: 96.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.2897, allocations: 362.2 kB / 454.6 MB, free: 96.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2902, allocations: 148.2 kB / 454.7 MB, free: 96.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2915, allocations: 1.449 MB / 456.2 MB, free: 95.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2916, allocations: 172.6 kB / 456.4 MB, free: 95.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.2917, allocations: 29.77 kB / 456.4 MB, free: 95.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.2919, allocations: 141.3 kB / 456.5 MB, free: 95.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2919, allocations: 0 / 456.5 MB, free: 95.46 MB / 394.7 MB Notification: Performance of Templates: time 0.02707/0.319, allocations: 31.87 MB / 488.4 MB, free: 75.54 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.8222965989261866]