Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.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.001269/0.001269, allocations: 77.33 kB / 20.86 MB, free: 3.598 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.001409/0.001409, allocations: 168.5 kB / 24.3 MB, free: 168 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.8994/0.8994, allocations: 177.1 MB / 204.7 MB, free: 5.41 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.04601/0.04601, allocations: 11.7 MB / 272.9 MB, free: 1.84 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.CheckDerivativeSetStateHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 292.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.345e-05, allocations: 2.312 kB / 292.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium): time 0.04213/0.04215, allocations: 64.44 MB / 356.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03851/0.08065, allocations: 56.42 MB / 413.1 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.08111, allocations: 23.88 kB / 413.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009922/0.0821, allocations: 0.5363 MB / 413.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03367/0.1158, allocations: 18.46 MB / 432.1 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.1286, allocations: 7.973 MB / 440.1 MB, free: 3.969 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.2467/0.3753, allocations: 140.9 MB / 0.5673 GB, free: 5.078 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.3756, allocations: 68.3 kB / 0.5674 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.3777, allocations: 1.681 MB / 0.569 GB, free: 3.461 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009783/0.3875, allocations: 11.9 MB / 0.5806 GB, free: 7.906 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.3877, allocations: 96 kB / 0.5807 GB, free: 7.812 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03104/0.4188, allocations: 23.17 MB / 0.6033 GB, free: 2.188 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006791/0.4194, allocations: 1.341 MB / 0.6047 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1218/0.5413, allocations: 1.075 MB / 0.6057 GB, free: 114.7 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02543/0.5667, allocations: 12.9 MB / 0.6183 GB, free: 114.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5667, allocations: 0 / 0.6183 GB, free: 114.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5667, allocations: 0.5938 kB / 0.6183 GB, free: 114.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001279/0.5668, allocations: 3.719 kB / 0.6183 GB, free: 114.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 675 * Number of variables: 675 Notification: Performance of Generate backend data structure: time 0.007204/0.574, allocations: 5.662 MB / 0.6238 GB, free: 111.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5741, allocations: 7.75 kB / 0.6238 GB, free: 111.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/0.5773, allocations: 1.446 MB / 0.6253 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.5788, allocations: 1.749 MB / 0.627 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.5789, allocations: 196.2 kB / 0.6271 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.5794, allocations: 468.6 kB / 0.6276 GB, free: 111 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.5819, allocations: 3.614 MB / 0.6311 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.5819, allocations: 3 kB / 0.6311 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.5822, allocations: 75.88 kB / 0.6312 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.5823, allocations: 283.4 kB / 0.6315 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.5845, allocations: 2.535 MB / 0.6339 GB, free: 110.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00721/0.5918, allocations: 5.862 MB / 0.6397 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.5943, allocations: 3.611 MB / 0.6432 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000891/0.5952, allocations: 0.9424 MB / 0.6441 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1046/0.6998, allocations: 106.3 MB / 0.748 GB, free: 29.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00254/0.7023, allocations: 3.073 MB / 0.751 GB, free: 26.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=604): time 7.915e-06/0.7023, allocations: 3.984 kB / 0.751 GB, free: 26.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=773): time 0.2134/0.9157, allocations: 35.07 MB / 0.7852 GB, free: 163.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.9158, allocations: 0.4893 MB / 0.7857 GB, free: 163 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.917, allocations: 2.099 MB / 0.7877 GB, free: 162.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005362/0.9175, allocations: 188.7 kB / 0.7879 GB, free: 162.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.9178, allocations: 0.6263 MB / 0.7885 GB, free: 162.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.9189, allocations: 2.894 MB / 0.7914 GB, free: 160.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.9207, allocations: 2.117 MB / 0.7934 GB, free: 160.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.245e-05/0.9207, allocations: 301.1 kB / 0.7937 GB, free: 160.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.9226, allocations: 1.887 MB / 0.7956 GB, free: 160.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.9246, allocations: 2.89 MB / 0.7984 GB, free: 159.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/0.9292, allocations: 5.972 MB / 0.8042 GB, free: 157.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.9292, allocations: 6.938 kB / 0.8042 GB, free: 157.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1349) (initialization): time 0.005616/0.9349, allocations: 6.946 MB / 0.811 GB, free: 155 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.9349, allocations: 154.6 kB / 0.8111 GB, free: 154.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.9349, allocations: 23.84 kB / 0.8112 GB, free: 154.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.412e-05/0.935, allocations: 58.94 kB / 0.8112 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/0.9388, allocations: 2.335 MB / 0.8135 GB, free: 153.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.784e-05/0.9388, allocations: 74.2 kB / 0.8136 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.9405, allocations: 185.4 kB / 0.8138 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/0.941, allocations: 0.4906 MB / 0.8142 GB, free: 152.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 15 (singlePhase.s0.phase,singlePhase.s1.phase,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,twoPhase.s0.phase,twoPhase.s1.phase,phaseChange.s0.phase,phaseChange.s1.phase,liquidNearSaturation.s0.phase,liquidNearSaturation.s1.phase,vapourNearSaturation.s0.phase,vapourNearSaturation.s1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1073 * Array equations: 5 * Algorithm blocks: 5 * Record equations: 8 * 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.00128/0.9423, allocations: 0.6781 MB / 0.8149 GB, free: 152.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007142/0.943, allocations: 0.5097 MB / 0.8154 GB, free: 152 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02167/0.9647, allocations: 34.46 MB / 0.849 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.474e-05/0.9647, allocations: 47.81 kB / 0.8491 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.9647, allocations: 4 kB / 0.8491 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/0.9665, allocations: 1.496 MB / 0.8506 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005943/0.9671, allocations: 269 kB / 0.8508 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.9684, allocations: 275.4 kB / 0.8511 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/0.969, allocations: 0.6318 MB / 0.8517 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01303/0.982, allocations: 20.27 MB / 0.8715 GB, free: 99.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0164/0.9984, allocations: 28.2 MB / 0.899 GB, free: 71.86 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004597/1.003, allocations: 9.224 MB / 0.908 GB, free: 63.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006597/1.004, allocations: 0.9351 MB / 0.9089 GB, free: 62.25 MB / 474.7 MB Notification: Performance of Backend: time 2.61e-07/1.004, allocations: 0 / 0.9089 GB, free: 62.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.015, allocations: 8.883 MB / 0.9176 GB, free: 54.61 MB / 474.7 MB Notification: Performance of SimCode: time 0.009624/1.024, allocations: 13.85 MB / 0.9311 GB, free: 41.23 MB / 474.7 MB Notification: Performance of Templates: time 0.3925/1.417, allocations: 244.1 MB / 1.17 GB, free: 150.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.519746294245124]