Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32.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.0009607/0.0009607, 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.0009164/0.0009164, 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.9373/0.9373, 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.04965/0.04965, allocations: 11.71 MB / 272.9 MB, free: 1.828 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.CheckDerivativeAnnotationsR32,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 292.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.214e-05, allocations: 7.031 kB / 292.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32): time 0.04349/0.0435, allocations: 65.73 MB / 358 MB, free: 6.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03937/0.08287, allocations: 55.88 MB / 413.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.08326, allocations: 23.88 kB / 413.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000958/0.08422, allocations: 0.5827 MB / 414.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03767/0.1219, allocations: 22.92 MB / 437.4 MB, free: 6.711 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Internal/Transport/thermalConductivity_dilute.mo:2:1-86:31:writable] Warning: Pure function 'HelmholtzMedia.HelmholtzFluids.R32.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.008846/0.1307, allocations: 4.393 MB / 441.7 MB, free: 2.301 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.2515/0.3822, allocations: 147.7 MB / 0.5756 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.3825, allocations: 62.52 kB / 0.5757 GB, free: 12.28 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.3847, allocations: 1.672 MB / 0.5773 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.395, allocations: 12.11 MB / 0.5891 GB, free: 14.73 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.3953, allocations: 80 kB / 0.5892 GB, free: 14.65 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1835/0.5788, allocations: 24.04 MB / 0.6127 GB, free: 115.1 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.5793, allocations: 0.7696 MB / 0.6134 GB, free: 115.1 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009617/0.5803, allocations: 0.7788 MB / 0.6142 GB, free: 115.1 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02698/0.6072, allocations: 12.33 MB / 0.6262 GB, free: 114.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6072, allocations: 0 / 0.6262 GB, free: 114.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6072, allocations: 0 / 0.6262 GB, free: 114.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.658e-05/0.6073, allocations: 3.656 kB / 0.6262 GB, free: 114.7 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: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.005558/0.6129, allocations: 4.522 MB / 0.6306 GB, free: 112.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.6129, allocations: 8.297 kB / 0.6307 GB, free: 112.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/0.6138, allocations: 0.5324 MB / 0.6312 GB, free: 112.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.6146, allocations: 1.004 MB / 0.6322 GB, free: 112 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.6147, allocations: 119 kB / 0.6323 GB, free: 112 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.615, allocations: 269.8 kB / 0.6325 GB, free: 112 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.6163, allocations: 1.764 MB / 0.6342 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.6163, allocations: 3.906 kB / 0.6343 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.6164, allocations: 54.27 kB / 0.6343 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.362e-05/0.6165, allocations: 154.5 kB / 0.6345 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6176, allocations: 0.9464 MB / 0.6354 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/0.6213, allocations: 3.448 MB / 0.6387 GB, free: 110.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.623, allocations: 2.519 MB / 0.6412 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.6235, allocations: 0.494 MB / 0.6417 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4376/1.061, allocations: 279.4 MB / 0.9145 GB, free: 54.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/1.062, allocations: 1.826 MB / 0.9163 GB, free: 52.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=354): time 5.621e-06/1.062, allocations: 0 / 0.9163 GB, free: 52.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=478): time 0.1161/1.179, allocations: 46.54 MB / 0.9618 GB, free: 6.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/1.179, allocations: 481.5 kB / 0.9622 GB, free: 5.473 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/1.179, allocations: 1.35 MB / 0.9636 GB, free: 4.375 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003054/1.18, allocations: 125.7 kB / 0.9637 GB, free: 4.246 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/1.18, allocations: 415.7 kB / 0.9641 GB, free: 3.918 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006381/1.18, allocations: 1.755 MB / 0.9658 GB, free: 2.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.182, allocations: 1.4 MB / 0.9672 GB, free: 1.031 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/1.182, allocations: 302.6 kB / 0.9674 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1232/1.305, allocations: 1.761 MB / 0.9692 GB, free: 151.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/1.307, allocations: 2.253 MB / 0.9714 GB, free: 151.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/1.311, allocations: 4.694 MB / 0.9759 GB, free: 150.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.311, allocations: 1.906 kB / 0.9759 GB, free: 150.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=789) (initialization): time 0.004491/1.316, allocations: 5.045 MB / 0.9809 GB, free: 149.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/1.316, allocations: 141.1 kB / 0.981 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.316, allocations: 8.391 kB / 0.981 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/1.316, allocations: 35.47 kB / 0.981 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.319, allocations: 1.591 MB / 0.9826 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/1.319, allocations: 35.33 kB / 0.9826 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.32, allocations: 110.5 kB / 0.9827 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004308/1.32, allocations: 359.3 kB / 0.9831 GB, free: 149.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 20 (singlePhase.s0.phase,singlePhase.s1.phase,$whenCondition5,vapourNearSaturation.s0.phase,vapourNearSaturation.s1.phase,$whenCondition4,liquidNearSaturation.s0.phase,liquidNearSaturation.s1.phase,$whenCondition3,$whenCondition2,$whenCondition1,singlePhase.state.phase,twoPhase.s0.phase,twoPhase.s1.phase,twoPhase.state.phase,phaseChange.state.phase,phaseChange.s0.phase,phaseChange.s1.phase,liquidNearSaturation.state.phase,vapourNearSaturation.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 618 * 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.001055/1.321, allocations: 0.4995 MB / 0.9836 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/1.322, allocations: 337.5 kB / 0.9839 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03467/1.357, allocations: 69.15 MB / 1.051 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-05/1.357, allocations: 31.89 kB / 1.051 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.357, allocations: 3.984 kB / 1.051 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/1.358, allocations: 2.052 MB / 1.053 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/1.359, allocations: 162.1 kB / 1.054 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.36, allocations: 267.4 kB / 1.054 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/1.36, allocations: 410 kB / 1.054 GB, free: 99.74 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01981/1.38, allocations: 35.5 MB / 1.089 GB, free: 65.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02441/1.404, allocations: 45.32 MB / 1.133 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006078/1.41, allocations: 12.8 MB / 1.146 GB, free: 8.688 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004098/1.411, allocations: 0.612 MB / 1.146 GB, free: 8.156 MB / 474.7 MB Notification: Performance of Backend: time 1.5e-07/1.411, allocations: 2.562 kB / 1.146 GB, free: 8.156 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1224/1.533, allocations: 9.728 MB / 1.156 GB, free: 144.3 MB / 474.7 MB Notification: Performance of SimCode: time 0.01601/1.549, allocations: 17.81 MB / 1.173 GB, free: 137.3 MB / 474.7 MB Notification: Performance of Templates: time 0.3273/1.876, allocations: 289.6 MB / 1.456 GB, free: 54.32 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsR32.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.20429749879986]