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.0009418/0.0009418, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001537/0.001537, allocations: 165 kB / 24.22 MB, free: 240 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.8637/0.8637, allocations: 177.1 MB / 204.7 MB, free: 5 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.04326/0.04326, allocations: 11.4 MB / 272.6 MB, free: 2.016 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.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.613e-06/1.613e-06, allocations: 0 / 291.8 MB, free: 17.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.493e-05, allocations: 4.672 kB / 291.8 MB, free: 17.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase): time 0.03913/0.03915, allocations: 59.22 MB / 351 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03453/0.07368, allocations: 52.09 MB / 403.1 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.07395, allocations: 4 kB / 403.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.07477, allocations: 354.2 kB / 403.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04268/0.1175, allocations: 19.57 MB / 423 MB, free: 5.332 MB / 378.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.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.005659/0.1231, allocations: 3.287 MB / 426.3 MB, free: 2.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1979/0.3211, allocations: 59.11 MB / 485.4 MB, free: 40.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.3211, allocations: 18.58 kB / 485.4 MB, free: 40.42 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.3215, allocations: 291.4 kB / 485.7 MB, free: 40.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3216, allocations: 122.4 kB / 485.8 MB, free: 40.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.3217, allocations: 10.78 kB / 485.8 MB, free: 40.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03422/0.3559, allocations: 21.55 MB / 0.4955 GB, free: 26.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.356, allocations: 144.1 kB / 0.4956 GB, free: 26.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.3563, allocations: 149.9 kB / 0.4958 GB, free: 26.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02668/0.383, allocations: 10.2 MB / 0.5057 GB, free: 19.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.383, allocations: 0 / 0.5057 GB, free: 19.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.383, allocations: 0 / 0.5057 GB, free: 19.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.383, allocations: 0 / 0.5057 GB, free: 19.85 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.003278/0.3863, allocations: 2.183 MB / 0.5079 GB, free: 17.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3863, allocations: 8.031 kB / 0.5079 GB, free: 17.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.3865, allocations: 85.52 kB / 0.5079 GB, free: 17.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3867, allocations: 272.1 kB / 0.5082 GB, free: 17.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3867, allocations: 24.12 kB / 0.5082 GB, free: 17.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.3868, allocations: 58.92 kB / 0.5083 GB, free: 17.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3871, allocations: 341.2 kB / 0.5086 GB, free: 17.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3871, allocations: 2.25 kB / 0.5086 GB, free: 17.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3871, allocations: 11.44 kB / 0.5086 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.3871, allocations: 24.64 kB / 0.5086 GB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3873, allocations: 166.8 kB / 0.5088 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.3882, allocations: 0.659 MB / 0.5094 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.3885, allocations: 447.3 kB / 0.5099 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.3886, allocations: 87.98 kB / 0.51 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4121/0.8006, allocations: 259 MB / 0.7629 GB, free: 9.199 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.801, allocations: 359.1 kB / 0.7632 GB, free: 8.828 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 2.675e-06/0.8011, allocations: 0 / 0.7632 GB, free: 8.828 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01877/0.8198, allocations: 7.183 MB / 0.7703 GB, free: 1.855 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.8199, allocations: 111.8 kB / 0.7704 GB, free: 1.723 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.82, allocations: 359.3 kB / 0.7707 GB, free: 1.422 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.8201, allocations: 45.7 kB / 0.7707 GB, free: 1.371 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.8201, allocations: 162.1 kB / 0.7709 GB, free: 1.223 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.8202, allocations: 335.7 kB / 0.7712 GB, free: 0.918 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.8204, allocations: 266.9 kB / 0.7715 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.8204, allocations: 379.7 kB / 0.7718 GB, free: 348 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.8207, allocations: 338.1 kB / 0.7722 GB, free: 8 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1369/0.9576, allocations: 436.6 kB / 0.7726 GB, free: 142.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.9586, allocations: 0.8887 MB / 0.7734 GB, free: 142.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9586, allocations: 4.125 kB / 0.7734 GB, free: 142.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001116/0.9597, allocations: 0.9662 MB / 0.7744 GB, free: 142.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.9597, allocations: 36.03 kB / 0.7744 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.9597, allocations: 2.938 kB / 0.7744 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.9597, allocations: 8.078 kB / 0.7744 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.9603, allocations: 300 kB / 0.7747 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9604, allocations: 6.844 kB / 0.7747 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.9606, allocations: 26.27 kB / 0.7748 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/0.9607, allocations: 66.16 kB / 0.7748 GB, free: 142.6 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.0001957/0.9609, allocations: 192 kB / 0.775 GB, free: 142.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.961, allocations: 65.38 kB / 0.7751 GB, free: 142.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007645/0.9686, allocations: 11.01 MB / 0.7858 GB, free: 140 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.9687, allocations: 82.34 kB / 0.7859 GB, free: 140 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.9687, allocations: 0 / 0.7859 GB, free: 140 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.9687, allocations: 7.641 kB / 0.7859 GB, free: 140 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005483/0.9742, allocations: 9.442 MB / 0.7951 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9742, allocations: 0 / 0.7951 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.9747, allocations: 220.9 kB / 0.7953 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.9747, allocations: 5.656 kB / 0.7953 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.9747, allocations: 44.8 kB / 0.7954 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.9747, allocations: 3.594 kB / 0.7954 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9747, allocations: 0 / 0.7954 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.9794, allocations: 7.937 MB / 0.8031 GB, free: 134.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.9796, allocations: 358.6 kB / 0.8035 GB, free: 134.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.9797, allocations: 35.23 kB / 0.8035 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.9799, allocations: 26.06 kB / 0.8035 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.98, allocations: 74.58 kB / 0.8036 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.98, allocations: 31.53 kB / 0.8036 GB, free: 134.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.183e-05/0.9801, allocations: 138.3 kB / 0.8038 GB, free: 134.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.9801, allocations: 0 / 0.8038 GB, free: 134.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003071/0.9832, allocations: 1.794 MB / 0.8055 GB, free: 132.8 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.003642/0.9868, allocations: 3.167 MB / 0.8086 GB, free: 130.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.9885, allocations: 2.66 MB / 0.8112 GB, free: 128.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9885, allocations: 4 kB / 0.8112 GB, free: 128.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.9896, allocations: 2.247 MB / 0.8134 GB, free: 126 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.9902, allocations: 230.5 kB / 0.8136 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.9938, allocations: 5.246 MB / 0.8188 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.994, allocations: 458.4 kB / 0.8192 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009212/0.9949, allocations: 1.351 MB / 0.8205 GB, free: 120.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005698/0.9955, allocations: 362.4 kB / 0.8209 GB, free: 120.1 MB / 458.7 MB Notification: Performance of SimCode: time 7.02e-07/0.9955, allocations: 0 / 0.8209 GB, free: 120.1 MB / 458.7 MB Notification: Performance of Templates: time 0.06123/1.057, allocations: 82.32 MB / 0.9012 GB, free: 45.34 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.195615136064589]