Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane.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.001119/0.001119, 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.001244/0.001244, allocations: 172.5 kB / 24.3 MB, free: 164 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.9252/0.9252, allocations: 177.1 MB / 204.7 MB, free: 5.406 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.04519/0.04519, allocations: 11.71 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.CheckDerivativeSetStateButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 2.625 kB / 292.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.204e-05, allocations: 5.641 kB / 292.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane): time 0.04176/0.04178, allocations: 64.72 MB / 357 MB, free: 7.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03958/0.08135, allocations: 57.02 MB / 414 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004299/0.08178, allocations: 23.88 kB / 414 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009782/0.08276, allocations: 0.5675 MB / 414.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03338/0.1161, allocations: 18.89 MB / 433.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.1291, allocations: 8.289 MB / 441.7 MB, free: 2.266 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.3874/0.5165, allocations: 177.7 MB / 0.6049 GB, free: 119.3 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.5168, allocations: 57.25 kB / 0.605 GB, free: 119.3 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.5193, allocations: 1.835 MB / 0.6068 GB, free: 119.3 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/0.5307, allocations: 15.11 MB / 0.6215 GB, free: 118.9 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.531, allocations: 95.78 kB / 0.6216 GB, free: 118.9 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02954/0.5605, allocations: 23.89 MB / 0.6449 GB, free: 116 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006832/0.5612, allocations: 1.337 MB / 0.6462 GB, free: 115.6 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.5626, allocations: 1.083 MB / 0.6473 GB, free: 115.4 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01952/0.5821, allocations: 12.9 MB / 0.6599 GB, free: 109.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5821, allocations: 0 / 0.6599 GB, free: 109.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5821, allocations: 0 / 0.6599 GB, free: 109.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.992e-05/0.5821, allocations: 0 / 0.6599 GB, free: 109.3 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.005402/0.5875, allocations: 5.666 MB / 0.6654 GB, free: 104.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5876, allocations: 12.03 kB / 0.6654 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.5907, allocations: 1.441 MB / 0.6669 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.5921, allocations: 1.744 MB / 0.6686 GB, free: 101.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.5922, allocations: 198.3 kB / 0.6687 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/0.5927, allocations: 468.9 kB / 0.6692 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.5952, allocations: 3.617 MB / 0.6727 GB, free: 97.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.5953, allocations: 0 / 0.6727 GB, free: 97.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.5955, allocations: 76.38 kB / 0.6728 GB, free: 97.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.5956, allocations: 285.6 kB / 0.6731 GB, free: 97.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.5978, allocations: 2.532 MB / 0.6755 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006984/0.6048, allocations: 5.863 MB / 0.6813 GB, free: 90.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.6072, allocations: 3.611 MB / 0.6848 GB, free: 87.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008479/0.6081, allocations: 0.9357 MB / 0.6857 GB, free: 86.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2277/0.8358, allocations: 106.5 MB / 0.7897 GB, free: 159.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002564/0.8384, allocations: 3.09 MB / 0.7927 GB, free: 159 MB / 474.7 MB Notification: Performance of pre-optimization done (n=604): time 9.578e-06/0.8384, allocations: 0 / 0.7927 GB, free: 159 MB / 474.7 MB Notification: Performance of matching and sorting (n=773): time 0.08108/0.9195, allocations: 35.07 MB / 0.827 GB, free: 139.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.9196, allocations: 0.5 MB / 0.8275 GB, free: 138.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009999/0.9206, allocations: 2.103 MB / 0.8295 GB, free: 137.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004354/0.921, allocations: 189.8 kB / 0.8297 GB, free: 137.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.9213, allocations: 0.6259 MB / 0.8303 GB, free: 136.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.9223, allocations: 2.895 MB / 0.8331 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.924, allocations: 2.118 MB / 0.8352 GB, free: 133.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.54e-05/0.924, allocations: 303.2 kB / 0.8355 GB, free: 133 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.9256, allocations: 1.89 MB / 0.8374 GB, free: 131.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.9275, allocations: 2.889 MB / 0.8402 GB, free: 128.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004296/0.9318, allocations: 5.977 MB / 0.846 GB, free: 122.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.9318, allocations: 4 kB / 0.846 GB, free: 122.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1349) (initialization): time 0.005245/0.937, allocations: 6.941 MB / 0.8528 GB, free: 115.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.9371, allocations: 151.4 kB / 0.8529 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.9371, allocations: 23.47 kB / 0.853 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.824e-05/0.9372, allocations: 60 kB / 0.853 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/0.9408, allocations: 2.34 MB / 0.8553 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.618e-05/0.9408, allocations: 67.67 kB / 0.8554 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.9422, allocations: 196.2 kB / 0.8556 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/0.9427, allocations: 500 kB / 0.856 GB, free: 112.8 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.0009858/0.9437, allocations: 0.6752 MB / 0.8567 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006275/0.9443, allocations: 0.5107 MB / 0.8572 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01931/0.9636, allocations: 34.45 MB / 0.8908 GB, free: 78.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-05/0.9636, allocations: 47.81 kB / 0.8909 GB, free: 78.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.9636, allocations: 0 / 0.8909 GB, free: 78.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.965, allocations: 1.506 MB / 0.8924 GB, free: 76.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005123/0.9655, allocations: 275.9 kB / 0.8926 GB, free: 76.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.9667, allocations: 267.8 kB / 0.8929 GB, free: 76.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/0.9672, allocations: 0.6274 MB / 0.8935 GB, free: 75.62 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0118/0.979, allocations: 20.28 MB / 0.9133 GB, free: 55.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01536/0.9943, allocations: 28.21 MB / 0.9408 GB, free: 27.62 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004564/0.9989, allocations: 9.215 MB / 0.9498 GB, free: 18.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005745/0.9995, allocations: 0.9289 MB / 0.9507 GB, free: 17.68 MB / 474.7 MB Notification: Performance of Backend: time 1.7e-07/0.9995, allocations: 0 / 0.9507 GB, free: 17.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01029/1.01, allocations: 8.871 MB / 0.9594 GB, free: 9.633 MB / 474.7 MB Notification: Performance of SimCode: time 0.1198/1.13, allocations: 13.86 MB / 0.9729 GB, free: 146 MB / 474.7 MB Notification: Performance of Templates: time 0.3036/1.433, allocations: 244.1 MB / 1.211 GB, free: 104.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateButane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.128488859161735]