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.0006461/0.0006461, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008439/0.00149, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006781/0.0006781, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008491/0.001527, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9195/0.9195, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09048/1.01, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.04585/0.04585, allocations: 11.71 MB / 255.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004505/0.05036, allocations: 3.091 MB / 258.8 MB, free: 0.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 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.783e-06/1.783e-06, allocations: 0 / 260.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.661e-05, allocations: 6.25 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase): time 0.1478/0.1478, allocations: 59.11 MB / 319.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03551/0.1833, allocations: 54.15 MB / 373.3 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.1836, allocations: 7.938 kB / 373.3 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.1842, allocations: 362 kB / 373.7 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03591/0.2201, allocations: 19.8 MB / 393.5 MB, free: 13.79 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.006569/0.2267, allocations: 3.495 MB / 397 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1727/0.3994, allocations: 55.12 MB / 452.1 MB, free: 51.65 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/0.3995, allocations: 13.75 kB / 452.1 MB, free: 51.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.3998, allocations: 332.8 kB / 452.5 MB, free: 51.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3999, allocations: 129.5 kB / 452.6 MB, free: 51.54 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.3999, allocations: 9.812 kB / 452.6 MB, free: 51.54 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02856/0.4285, allocations: 22.36 MB / 474.9 MB, free: 39.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.4286, allocations: 138.1 kB / 475.1 MB, free: 39.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.4288, allocations: 115.7 kB / 475.2 MB, free: 39.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.4471, allocations: 8.876 MB / 484.1 MB, free: 32.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.4471, allocations: 7.938 kB / 484.1 MB, free: 32.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4471, allocations: 0 / 484.1 MB, free: 32.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.4471, allocations: 4 kB / 484.1 MB, free: 32.79 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.003134/0.4502, allocations: 3.192 MB / 487.3 MB, free: 29.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.4503, allocations: 8.031 kB / 487.3 MB, free: 29.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.4504, allocations: 82.61 kB / 487.4 MB, free: 29.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4506, allocations: 272.4 kB / 487.6 MB, free: 29.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4506, allocations: 24.31 kB / 487.7 MB, free: 29.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.4507, allocations: 55.8 kB / 487.7 MB, free: 29.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.4509, allocations: 329.5 kB / 488 MB, free: 28.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4509, allocations: 4 kB / 488 MB, free: 28.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.451, allocations: 11.62 kB / 488 MB, free: 28.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.451, allocations: 28.64 kB / 488.1 MB, free: 28.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4511, allocations: 161 kB / 488.2 MB, free: 28.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008255/0.452, allocations: 0.6588 MB / 488.9 MB, free: 28.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4523, allocations: 431 kB / 489.3 MB, free: 27.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.4523, allocations: 92.28 kB / 489.4 MB, free: 27.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5891/1.041, allocations: 301.5 MB / 0.7723 GB, free: 136.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/1.042, allocations: 351.1 kB / 0.7727 GB, free: 136 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 6.603e-06/1.042, allocations: 2.156 kB / 0.7727 GB, free: 136 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.02707/1.069, allocations: 7.095 MB / 0.7796 GB, free: 135.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.069, allocations: 97.84 kB / 0.7797 GB, free: 135.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/1.069, allocations: 358.7 kB / 0.78 GB, free: 135.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/1.069, allocations: 43.52 kB / 0.7801 GB, free: 135.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/1.069, allocations: 163.5 kB / 0.7802 GB, free: 135.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/1.069, allocations: 337.5 kB / 0.7805 GB, free: 135 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.07, allocations: 293.7 kB / 0.7808 GB, free: 135 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/1.07, allocations: 375.5 kB / 0.7812 GB, free: 134.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/1.07, allocations: 345.9 kB / 0.7815 GB, free: 134.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/1.07, allocations: 462.9 kB / 0.782 GB, free: 134.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/1.071, allocations: 0.9161 MB / 0.7828 GB, free: 134.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.071, allocations: 5.438 kB / 0.7829 GB, free: 134.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001026/1.072, allocations: 0.9856 MB / 0.7838 GB, free: 134.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.072, allocations: 34.73 kB / 0.7838 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.072, allocations: 0 / 0.7838 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.072, allocations: 14.42 kB / 0.7839 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/1.073, allocations: 417.7 kB / 0.7843 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.073, allocations: 8.5 kB / 0.7843 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/1.074, allocations: 25.69 kB / 0.7843 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.074, allocations: 77.5 kB / 0.7844 GB, free: 134.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (121): * Single equations (assignments): 117 * Array equations: 1 * 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.000191/1.074, allocations: 188.9 kB / 0.7845 GB, free: 134.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.074, allocations: 68 kB / 0.7846 GB, free: 134.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007763/1.082, allocations: 11.33 MB / 0.7957 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/1.082, allocations: 86.17 kB / 0.7958 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/1.082, allocations: 0 / 0.7958 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.082, allocations: 7.547 kB / 0.7958 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006588/1.088, allocations: 9.432 MB / 0.805 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.088, allocations: 9.938 kB / 0.805 GB, free: 118.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/1.089, allocations: 248.5 kB / 0.8052 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/1.089, allocations: 360.8 kB / 0.8056 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.089, allocations: 4 kB / 0.8056 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.089, allocations: 33.38 kB / 0.8056 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.089, allocations: 8 kB / 0.8056 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.089, allocations: 1.406 kB / 0.8056 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004261/1.094, allocations: 7.942 MB / 0.8134 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/1.094, allocations: 27.39 kB / 0.8134 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/1.094, allocations: 26.7 kB / 0.8134 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/1.094, allocations: 72.77 kB / 0.8135 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/1.094, allocations: 36.81 kB / 0.8135 GB, free: 110.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.174e-05/1.094, allocations: 137.7 kB / 0.8137 GB, free: 110.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/1.094, allocations: 0 / 0.8137 GB, free: 110.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002954/1.097, allocations: 1.925 MB / 0.8155 GB, free: 109 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.003807/1.101, allocations: 3.553 MB / 0.819 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/1.102, allocations: 2.672 MB / 0.8216 GB, free: 103.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.102, allocations: 12.56 kB / 0.8216 GB, free: 103.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.103, allocations: 2.26 MB / 0.8238 GB, free: 101.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/1.104, allocations: 288 kB / 0.8241 GB, free: 101.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/1.11, allocations: 5.186 MB / 0.8292 GB, free: 97.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/1.111, allocations: 452.8 kB / 0.8296 GB, free: 96.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008445/1.111, allocations: 1.469 MB / 0.831 GB, free: 95.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/1.112, allocations: 428.9 kB / 0.8314 GB, free: 94.94 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/1.112, allocations: 4 kB / 0.8315 GB, free: 94.94 MB / 458.7 MB Notification: Performance of Templates: time 0.05637/1.168, allocations: 84.9 MB / 0.9144 GB, free: 11.64 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.359353112056851]