Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.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.0008129/0.0008129, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002001, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007159/0.0007159, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000998/0.001714, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9727/0.9727, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09201/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04588/0.04588, allocations: 11.72 MB / 255.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005105/0.05099, allocations: 3.092 MB / 259 MB, free: 0.6953 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.CheckDerivativeAnnotationsTwoPhase,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.227e-05, allocations: 5.547 kB / 260.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase): time 0.1659/0.1659, allocations: 59.12 MB / 319.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03706/0.2029, allocations: 54.17 MB / 373.6 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.2031, allocations: 11.94 kB / 373.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.2038, allocations: 354.1 kB / 374 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04283/0.2467, allocations: 19.82 MB / 393.8 MB, free: 13.52 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/Interfaces/PartialHelmholtzMedium/Internal/Transport/thermalConductivity_dilute.mo:2:1-85:31:writable] Warning: Pure function 'HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.Medium.Internal.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007159/0.2538, allocations: 3.496 MB / 397.3 MB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1926/0.4464, allocations: 64.86 MB / 462.1 MB, free: 46.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.4465, allocations: 14.56 kB / 462.1 MB, free: 46.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.4468, allocations: 335.8 kB / 462.5 MB, free: 46.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.4469, allocations: 124.1 kB / 462.6 MB, free: 45.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.447, allocations: 8 kB / 462.6 MB, free: 45.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0307/0.4777, allocations: 22.44 MB / 485 MB, free: 30 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.4778, allocations: 143.3 kB / 485.2 MB, free: 29.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.4781, allocations: 115.7 kB / 485.3 MB, free: 29.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02302/0.5011, allocations: 8.867 MB / 494.2 MB, free: 22.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/0.5011, allocations: 3.938 kB / 494.2 MB, free: 22.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5011, allocations: 0 / 494.2 MB, free: 22.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.5011, allocations: 4 kB / 494.2 MB, free: 22.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003772/0.5049, allocations: 3.198 MB / 497.4 MB, free: 19.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5049, allocations: 8.031 kB / 497.4 MB, free: 19.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.5051, allocations: 81.3 kB / 497.5 MB, free: 19.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.5053, allocations: 267.8 kB / 497.7 MB, free: 19.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5054, allocations: 29.38 kB / 497.7 MB, free: 19.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.5054, allocations: 47.88 kB / 497.8 MB, free: 19.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.5057, allocations: 329.4 kB / 498.1 MB, free: 18.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5057, allocations: 0 / 498.1 MB, free: 18.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.5057, allocations: 15 kB / 498.1 MB, free: 18.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.5058, allocations: 55.11 kB / 498.2 MB, free: 18.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.5059, allocations: 161.8 kB / 498.3 MB, free: 18.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.5069, allocations: 0.7264 MB / 499.1 MB, free: 18.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.5072, allocations: 431.1 kB / 499.5 MB, free: 17.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.5073, allocations: 90.47 kB / 499.6 MB, free: 17.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6319/1.139, allocations: 301.9 MB / 0.7826 GB, free: 135 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/1.14, allocations: 344.1 kB / 0.783 GB, free: 134.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 2.845e-06/1.14, allocations: 4 kB / 0.783 GB, free: 134.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.02095/1.16, allocations: 7.129 MB / 0.7899 GB, free: 132.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/1.16, allocations: 60.41 kB / 0.79 GB, free: 132.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/1.161, allocations: 367.9 kB / 0.7903 GB, free: 132.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/1.161, allocations: 48.33 kB / 0.7904 GB, free: 132.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/1.161, allocations: 164.4 kB / 0.7906 GB, free: 132.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/1.161, allocations: 338.8 kB / 0.7909 GB, free: 132.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/1.161, allocations: 304.4 kB / 0.7912 GB, free: 132.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/1.161, allocations: 374.8 kB / 0.7915 GB, free: 131.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.162, allocations: 344 kB / 0.7919 GB, free: 131.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/1.162, allocations: 0.4895 MB / 0.7923 GB, free: 131 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/1.163, allocations: 0.9364 MB / 0.7932 GB, free: 130.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.163, allocations: 4 kB / 0.7932 GB, free: 130.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0008845/1.163, allocations: 0.9626 MB / 0.7942 GB, free: 129.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/1.164, allocations: 35.27 kB / 0.7942 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.164, allocations: 4 kB / 0.7942 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.164, allocations: 11.94 kB / 0.7942 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/1.164, allocations: 459.7 kB / 0.7947 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.164, allocations: 11.66 kB / 0.7947 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/1.164, allocations: 33.94 kB / 0.7947 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/1.165, allocations: 82.38 kB / 0.7948 GB, free: 129.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,s0.phase,s1.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.0001826/1.165, allocations: 191.9 kB / 0.795 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.165, allocations: 70.89 kB / 0.795 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/1.172, allocations: 11.33 MB / 0.8061 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.587e-05/1.172, allocations: 77.09 kB / 0.8062 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/1.172, allocations: 0 / 0.8062 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/1.172, allocations: 7.969 kB / 0.8062 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/1.177, allocations: 9.439 MB / 0.8154 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.177, allocations: 7.5 kB / 0.8154 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/1.178, allocations: 247.9 kB / 0.8157 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/1.178, allocations: 360.2 kB / 0.816 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.178, allocations: 4.031 kB / 0.816 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/1.178, allocations: 38.64 kB / 0.816 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.178, allocations: 4 kB / 0.816 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.178, allocations: 4.562 kB / 0.816 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/1.183, allocations: 7.996 MB / 0.8239 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/1.183, allocations: 30.55 kB / 0.8239 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.183, allocations: 27.36 kB / 0.8239 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/1.183, allocations: 76.08 kB / 0.824 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/1.183, allocations: 35.16 kB / 0.824 GB, free: 102.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.026e-05/1.183, allocations: 141.1 kB / 0.8242 GB, free: 102.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.183, allocations: 0 / 0.8242 GB, free: 102.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003844/1.187, allocations: 1.931 MB / 0.826 GB, free: 100.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (y_int[1],y_int[2],y_int[3],y_int[4],y_int[5],y_int[6],y_int[7],y_int[8],y_int[9],y_int[10],y_int[11],y_int[12],y_int[13],y_int[14],y_int[15],y_int[16],y_int[17],y_int[18],y_int[19],y_int[20],y_int[21],y_int[22]) * Number of discrete variables: 19 ($cse1.sat.vap.phase,$cse1.sat.liq.phase,$cse3.phase,$cse4.sat.vap.phase,$cse4.sat.liq.phase,$cse9.phase,$cse10.sat.vap.phase,$cse10.sat.liq.phase,$cse13.phase,$cse14.sat.vap.phase,$cse14.sat.liq.phase,$cse16.phase,$cse17.phase,$cse19.sat.vap.phase,$cse19.sat.liq.phase,$cse21.phase,$cse23.sat.vap.phase,$cse23.sat.liq.phase,$whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004372/1.192, allocations: 3.563 MB / 0.8295 GB, free: 97.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/1.193, allocations: 2.715 MB / 0.8322 GB, free: 94.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/1.193, allocations: 8 kB / 0.8322 GB, free: 94.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.195, allocations: 2.337 MB / 0.8345 GB, free: 92.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/1.195, allocations: 1.153 MB / 0.8356 GB, free: 90.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/1.202, allocations: 5.191 MB / 0.8407 GB, free: 85.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/1.202, allocations: 460.5 kB / 0.8411 GB, free: 85.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009347/1.203, allocations: 1.462 MB / 0.8425 GB, free: 84.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/1.203, allocations: 443.7 kB / 0.8429 GB, free: 83.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/1.203, allocations: 0 / 0.8429 GB, free: 83.61 MB / 458.7 MB Notification: Performance of Templates: time 0.1932/1.397, allocations: 85.82 MB / 0.9268 GB, free: 130.9 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.818874433636665]