Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia.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.0007595/0.0007595, allocations: 77.33 kB / 20.86 MB, free: 3.602 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.0009126/0.0009126, allocations: 172.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.9661/0.9661, allocations: 177.1 MB / 204.7 MB, free: 5.402 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.04733/0.04733, allocations: 11.71 MB / 272.9 MB, free: 1.844 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.CheckDerivativeAnnotationsAmmonia,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 292.2 MB, free: 17.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.365e-05, allocations: 5.922 kB / 292.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia): time 0.0462/0.04622, allocations: 65.76 MB / 358 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04046/0.08668, allocations: 55.87 MB / 413.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.08712, allocations: 27.81 kB / 413.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.08819, allocations: 0.575 MB / 414.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04519/0.1334, allocations: 23.04 MB / 437.5 MB, free: 6.57 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.Ammonia.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007798/0.1412, allocations: 4.405 MB / 441.9 MB, free: 2.148 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.2552/0.3964, allocations: 140.7 MB / 0.5689 GB, free: 4.539 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.3968, allocations: 54.91 kB / 0.569 GB, free: 4.469 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.399, allocations: 1.663 MB / 0.5706 GB, free: 2.953 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.4092, allocations: 11.5 MB / 0.5818 GB, free: 7.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.4094, allocations: 80 kB / 0.5819 GB, free: 7.832 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03653/0.4459, allocations: 24.1 MB / 0.6055 GB, free: 1.23 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.4464, allocations: 0.7731 MB / 0.6062 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1396/0.586, allocations: 0.7711 MB / 0.607 GB, free: 112.8 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02859/0.6146, allocations: 12.34 MB / 0.619 GB, free: 112.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6146, allocations: 0.5312 kB / 0.619 GB, free: 112.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6146, allocations: 0.5938 kB / 0.619 GB, free: 112.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.6146, allocations: 0 / 0.619 GB, free: 112.5 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.004697/0.6193, allocations: 4.519 MB / 0.6234 GB, free: 110.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6194, allocations: 11.47 kB / 0.6234 GB, free: 110.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.6202, allocations: 0.5371 MB / 0.624 GB, free: 110.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007987/0.621, allocations: 0.9975 MB / 0.6249 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.621, allocations: 118 kB / 0.6251 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.6213, allocations: 274.6 kB / 0.6253 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.6225, allocations: 1.76 MB / 0.627 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.6225, allocations: 1.875 kB / 0.627 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.6226, allocations: 54.69 kB / 0.6271 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.862e-05/0.6227, allocations: 153.2 kB / 0.6272 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/0.6237, allocations: 0.9529 MB / 0.6282 GB, free: 109.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.6273, allocations: 3.45 MB / 0.6315 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.6289, allocations: 2.525 MB / 0.634 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.6294, allocations: 0.4908 MB / 0.6345 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4571/1.086, allocations: 279.4 MB / 0.9073 GB, free: 62.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/1.088, allocations: 1.828 MB / 0.9091 GB, free: 60.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=354): time 6.703e-06/1.088, allocations: 4 kB / 0.9091 GB, free: 60.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=478): time 0.1242/1.212, allocations: 46.71 MB / 0.9547 GB, free: 13.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.213, allocations: 478.1 kB / 0.9552 GB, free: 13.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.214, allocations: 1.353 MB / 0.9565 GB, free: 12.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008578/1.214, allocations: 125.7 kB / 0.9566 GB, free: 12.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/1.215, allocations: 420 kB / 0.957 GB, free: 11.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.216, allocations: 1.748 MB / 0.9587 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/1.217, allocations: 1.395 MB / 0.9601 GB, free: 8.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.285e-05/1.217, allocations: 301.1 kB / 0.9604 GB, free: 8.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/1.219, allocations: 1.761 MB / 0.9621 GB, free: 6.832 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/1.221, allocations: 2.263 MB / 0.9643 GB, free: 4.555 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1644/1.385, allocations: 4.683 MB / 0.9689 GB, free: 153.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.328e-05/1.385, allocations: 7.688 kB / 0.9689 GB, free: 153.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=789) (initialization): time 0.00926/1.395, allocations: 5.041 MB / 0.9738 GB, free: 152.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/1.395, allocations: 144.3 kB / 0.974 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.395, allocations: 10.31 kB / 0.974 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.958e-05/1.395, allocations: 26.09 kB / 0.974 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003071/1.398, allocations: 1.595 MB / 0.9755 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/1.398, allocations: 33.91 kB / 0.9756 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.399, allocations: 111.3 kB / 0.9757 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005157/1.4, allocations: 358.3 kB / 0.976 GB, free: 152.4 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.00138/1.401, allocations: 0.502 MB / 0.9765 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007761/1.402, allocations: 340.4 kB / 0.9768 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04539/1.447, allocations: 69.21 MB / 1.044 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001975/1.448, allocations: 30.56 kB / 1.044 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.448, allocations: 4 kB / 1.044 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/1.45, allocations: 2.06 MB / 1.046 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007761/1.451, allocations: 161.6 kB / 1.047 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.453, allocations: 263.3 kB / 1.047 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/1.453, allocations: 413.3 kB / 1.047 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02877/1.482, allocations: 35.5 MB / 1.082 GB, free: 72.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04261/1.525, allocations: 45.33 MB / 1.126 GB, free: 27.94 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01105/1.536, allocations: 12.8 MB / 1.139 GB, free: 15.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006592/1.536, allocations: 0.6125 MB / 1.139 GB, free: 15.05 MB / 474.7 MB Notification: Performance of Backend: time 3.01e-07/1.536, allocations: 0 / 1.139 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0236/1.56, allocations: 9.745 MB / 1.149 GB, free: 6.727 MB / 474.7 MB Notification: Performance of SimCode: time 0.1613/1.721, allocations: 17.81 MB / 1.166 GB, free: 139.4 MB / 474.7 MB Notification: Performance of Templates: time 0.3846/2.106, allocations: 289.9 MB / 1.449 GB, free: 56.96 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsAmmonia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 15.19313912652433]