Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases.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.0009449/0.0009449, 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.0009175/0.0009175, allocations: 168.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.9187/0.9187, allocations: 177.1 MB / 204.7 MB, free: 5.398 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.04874/0.04874, allocations: 11.7 MB / 272.9 MB, free: 1.832 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.CheckDerivativeSetStateAllCases,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 292.2 MB, free: 17.08 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.627e-05, allocations: 3.531 kB / 292.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases): time 0.04251/0.04253, allocations: 63.88 MB / 356.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03944/0.08197, allocations: 55.96 MB / 412.1 MB, free: 80 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.08262, allocations: 23.88 kB / 412.1 MB, free: 56 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.08369, allocations: 0.5323 MB / 412.6 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03876/0.1224, allocations: 17.07 MB / 429.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.1369, allocations: 7.391 MB / 437.1 MB, free: 6.941 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.4726/0.6094, allocations: 293.1 MB / 0.7131 GB, free: 49.11 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.6097, allocations: 68.92 kB / 0.7132 GB, free: 49.04 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.6119, allocations: 1.666 MB / 0.7148 GB, free: 47.93 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01617/0.6281, allocations: 26.13 MB / 0.7403 GB, free: 23.79 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.6285, allocations: 96 kB / 0.7404 GB, free: 23.7 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03269/0.6612, allocations: 23.08 MB / 0.7629 GB, free: 6.332 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006746/0.6619, allocations: 1.345 MB / 0.7643 GB, free: 5.332 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.6636, allocations: 1.073 MB / 0.7653 GB, free: 4.566 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1531/0.8167, allocations: 12.96 MB / 0.778 GB, free: 115.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8167, allocations: 0.5625 kB / 0.778 GB, free: 115.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.8167, allocations: 1.375 kB / 0.778 GB, free: 115.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001611/0.8169, allocations: 0 / 0.778 GB, free: 115.8 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.01116/0.828, allocations: 5.663 MB / 0.7835 GB, free: 113.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8281, allocations: 12.22 kB / 0.7835 GB, free: 113.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.8318, allocations: 1.441 MB / 0.7849 GB, free: 113.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.8338, allocations: 1.857 MB / 0.7867 GB, free: 112.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.8339, allocations: 197.9 kB / 0.7869 GB, free: 112.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006707/0.8346, allocations: 466 kB / 0.7874 GB, free: 112.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.8377, allocations: 3.618 MB / 0.7909 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.8377, allocations: 0 / 0.7909 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.838, allocations: 74.78 kB / 0.791 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.8381, allocations: 287.9 kB / 0.7912 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.8405, allocations: 2.536 MB / 0.7937 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009436/0.8499, allocations: 5.977 MB / 0.7995 GB, free: 111.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.8529, allocations: 3.606 MB / 0.8031 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.8541, allocations: 0.9408 MB / 0.804 GB, free: 110.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1073/0.9614, allocations: 107 MB / 0.9084 GB, free: 32.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003104/0.9646, allocations: 3.076 MB / 0.9115 GB, free: 29.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=604): time 1.013e-05/0.9646, allocations: 0 / 0.9115 GB, free: 29.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=773): time 0.2141/1.179, allocations: 35.65 MB / 0.9463 GB, free: 155.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.179, allocations: 0.495 MB / 0.9467 GB, free: 155.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.18, allocations: 2.104 MB / 0.9488 GB, free: 155 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009994/1.181, allocations: 184.1 kB / 0.949 GB, free: 154.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/1.182, allocations: 0.6241 MB / 0.9496 GB, free: 154.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.183, allocations: 2.902 MB / 0.9524 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/1.185, allocations: 2.117 MB / 0.9545 GB, free: 153 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.606e-05/1.185, allocations: 301.1 kB / 0.9548 GB, free: 152.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/1.187, allocations: 1.883 MB / 0.9566 GB, free: 152.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/1.189, allocations: 2.895 MB / 0.9594 GB, free: 151.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004844/1.193, allocations: 5.963 MB / 0.9653 GB, free: 150.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-05/1.193, allocations: 7.062 kB / 0.9653 GB, free: 150.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1349) (initialization): time 0.006178/1.2, allocations: 6.951 MB / 0.9721 GB, free: 149 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/1.2, allocations: 153.2 kB / 0.9722 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.2, allocations: 17.62 kB / 0.9722 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.045e-05/1.2, allocations: 62.45 kB / 0.9723 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/1.204, allocations: 2.337 MB / 0.9746 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.839e-05/1.204, allocations: 68.3 kB / 0.9746 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.206, allocations: 189.1 kB / 0.9748 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005972/1.206, allocations: 0.4949 MB / 0.9753 GB, free: 148.5 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.001506/1.208, allocations: 0.6775 MB / 0.976 GB, free: 148.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008074/1.209, allocations: 0.5125 MB / 0.9765 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/1.233, allocations: 35.21 MB / 1.011 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000128/1.234, allocations: 47.81 kB / 1.011 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.234, allocations: 4 kB / 1.011 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/1.236, allocations: 1.528 MB / 1.012 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007831/1.237, allocations: 274.4 kB / 1.013 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.238, allocations: 270 kB / 1.013 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005129/1.239, allocations: 0.6273 MB / 1.014 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0134/1.252, allocations: 20.28 MB / 1.033 GB, free: 96.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01765/1.27, allocations: 28.2 MB / 1.061 GB, free: 69.01 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005402/1.275, allocations: 9.225 MB / 1.07 GB, free: 60.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007923/1.276, allocations: 0.9288 MB / 1.071 GB, free: 59.41 MB / 474.7 MB Notification: Performance of Backend: time 3.61e-07/1.276, allocations: 0 / 1.071 GB, free: 59.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01463/1.29, allocations: 9.002 MB / 1.08 GB, free: 51.86 MB / 474.7 MB Notification: Performance of SimCode: time 0.01193/1.302, allocations: 13.85 MB / 1.093 GB, free: 39 MB / 474.7 MB Notification: Performance of Templates: time 0.4222/1.725, allocations: 256.2 MB / 1.343 GB, free: 134.5 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetStateAllCases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.919714162126184]