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.0009538/0.0009538, allocations: 83.75 kB / 20.12 MB, free: 4.145 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.0008898/0.0008898, allocations: 168.5 kB / 23.56 MB, free: 0.7031 MB / 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.9707/0.9707, allocations: 177.2 MB / 204 MB, free: 5.371 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.04944/0.04944, allocations: 11.71 MB / 272.2 MB, free: 1.793 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.663e-06/1.663e-06, allocations: 0 / 291.6 MB, free: 17.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.488e-05, allocations: 4.828 kB / 291.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeAnnotationsTwoPhase): time 0.04149/0.04152, allocations: 59.31 MB / 350.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03615/0.07766, allocations: 52.98 MB / 403.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.0779, allocations: 4 kB / 403.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.07881, allocations: 358.2 kB / 404.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03816/0.117, allocations: 19.58 MB / 423.8 MB, free: 3.637 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.006425/0.1234, allocations: 3.499 MB / 427.3 MB, free: 124 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.2377/0.3612, allocations: 59.13 MB / 486.4 MB, free: 38.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.3612, allocations: 15.5 kB / 486.4 MB, free: 38.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.3619, allocations: 296.9 kB / 486.7 MB, free: 38.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.3622, allocations: 124 kB / 486.8 MB, free: 38.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.3622, allocations: 8.75 kB / 486.9 MB, free: 38.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04138/0.4036, allocations: 21.55 MB / 0.4965 GB, free: 24.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.4037, allocations: 145 kB / 0.4966 GB, free: 24.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.4041, allocations: 145.4 kB / 0.4968 GB, free: 24.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0274/0.4315, allocations: 10.19 MB / 0.5067 GB, free: 17.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4315, allocations: 4 kB / 0.5067 GB, free: 17.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4315, allocations: 0 / 0.5067 GB, free: 17.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4315, allocations: 0 / 0.5067 GB, free: 17.47 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.003199/0.4347, allocations: 2.192 MB / 0.5089 GB, free: 15.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.4347, allocations: 8.031 kB / 0.5089 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.4349, allocations: 82.47 kB / 0.5089 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.4352, allocations: 269.5 kB / 0.5092 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4352, allocations: 24.12 kB / 0.5092 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.4353, allocations: 50.98 kB / 0.5093 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.4356, allocations: 347.9 kB / 0.5096 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4357, allocations: 0 / 0.5096 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.4357, allocations: 9.062 kB / 0.5096 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.4357, allocations: 32.58 kB / 0.5096 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.436, allocations: 170.3 kB / 0.5098 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.437, allocations: 0.6588 MB / 0.5105 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.4374, allocations: 433.9 kB / 0.5109 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.4375, allocations: 92.47 kB / 0.511 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4535/0.891, allocations: 259 MB / 0.7639 GB, free: 5.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.8914, allocations: 350.2 kB / 0.7642 GB, free: 5.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 2.475e-06/0.8914, allocations: 0 / 0.7642 GB, free: 5.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.1869/1.078, allocations: 7.176 MB / 0.7712 GB, free: 141.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.078, allocations: 119 kB / 0.7714 GB, free: 141.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/1.079, allocations: 362.8 kB / 0.7717 GB, free: 141 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/1.079, allocations: 46.7 kB / 0.7717 GB, free: 140.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/1.079, allocations: 157.5 kB / 0.7719 GB, free: 140.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/1.079, allocations: 339.6 kB / 0.7722 GB, free: 140.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/1.079, allocations: 271.4 kB / 0.7725 GB, free: 140.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/1.079, allocations: 382.7 kB / 0.7728 GB, free: 140.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/1.08, allocations: 333.1 kB / 0.7732 GB, free: 140.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/1.08, allocations: 449.8 kB / 0.7736 GB, free: 140.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/1.082, allocations: 0.886 MB / 0.7745 GB, free: 140 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.082, allocations: 1.156 kB / 0.7745 GB, free: 140 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001254/1.083, allocations: 0.9737 MB / 0.7754 GB, free: 139.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/1.083, allocations: 32.58 kB / 0.7754 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.083, allocations: 2.406 kB / 0.7754 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.083, allocations: 6.875 kB / 0.7755 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/1.083, allocations: 303.6 kB / 0.7757 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.084, allocations: 7.094 kB / 0.7757 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/1.084, allocations: 21.69 kB / 0.7758 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.084, allocations: 63.72 kB / 0.7758 GB, free: 139.8 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.0002125/1.084, allocations: 187.2 kB / 0.776 GB, free: 139.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/1.084, allocations: 71.17 kB / 0.7761 GB, free: 139.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00764/1.092, allocations: 11 MB / 0.7868 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/1.092, allocations: 83.72 kB / 0.7869 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.092, allocations: 0 / 0.7869 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.092, allocations: 11.17 kB / 0.7869 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006322/1.098, allocations: 9.443 MB / 0.7961 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.098, allocations: 1.5 kB / 0.7961 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/1.099, allocations: 220.9 kB / 0.7963 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.099, allocations: 2.656 kB / 0.7963 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/1.099, allocations: 35.25 kB / 0.7964 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.099, allocations: 3.844 kB / 0.7964 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.099, allocations: 3.422 kB / 0.7964 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/1.104, allocations: 7.942 MB / 0.8041 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/1.104, allocations: 365.2 kB / 0.8045 GB, free: 130.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/1.105, allocations: 25.95 kB / 0.8045 GB, free: 130.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/1.105, allocations: 25.94 kB / 0.8045 GB, free: 130.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/1.105, allocations: 76.52 kB / 0.8046 GB, free: 130.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/1.105, allocations: 32.64 kB / 0.8046 GB, free: 130.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.669e-05/1.105, allocations: 142 kB / 0.8048 GB, free: 130.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.105, allocations: 0 / 0.8048 GB, free: 130.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003575/1.109, allocations: 1.836 MB / 0.8066 GB, free: 129.2 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.00568/1.114, allocations: 3.222 MB / 0.8097 GB, free: 127 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002322/1.117, allocations: 2.651 MB / 0.8123 GB, free: 124.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.117, allocations: 7.812 kB / 0.8123 GB, free: 124.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/1.118, allocations: 2.254 MB / 0.8145 GB, free: 122.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/1.119, allocations: 216.5 kB / 0.8147 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/1.123, allocations: 5.255 MB / 0.8199 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/1.124, allocations: 457.3 kB / 0.8203 GB, free: 117.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001213/1.125, allocations: 1.347 MB / 0.8216 GB, free: 116.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/1.126, allocations: 366.4 kB / 0.822 GB, free: 116.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.405e-06/1.126, allocations: 0 / 0.822 GB, free: 116.4 MB / 458.7 MB Notification: Performance of Templates: time 0.06955/1.195, allocations: 83.09 MB / 0.9031 GB, free: 40.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.659837580285966]