Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04846/0.04846, allocations: 9.098 MB / 25.83 MB, free: 3.41 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 233.2 MB, free: 14.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 95.33 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 51.92 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.201, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01448/0.2155, allocations: 19.99 MB / 409.2 MB, free: 18.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.2269, allocations: 17.37 MB / 426.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.2274, allocations: 4 kB / 426.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.2285, allocations: 0.5021 MB / 427.1 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.239, allocations: 4.511 MB / 431.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.2413, allocations: 0.8515 MB / 432.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.2422, allocations: 0.7785 MB / 433.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.2423, allocations: 45.77 kB / 433.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.2427, allocations: 330.5 kB / 433.6 MB, free: 10 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.2431, allocations: 310.6 kB / 433.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.2432, allocations: 31.98 kB / 434 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/0.2573, allocations: 8.789 MB / 442.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2575, allocations: 91.59 kB / 442.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.2579, allocations: 278.4 kB / 443.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008793/0.2667, allocations: 3.975 MB / 447.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2667, allocations: 0 / 447.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2667, allocations: 0 / 447.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.2667, allocations: 0 / 447.1 MB, free: 12.5 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002548/0.2693, allocations: 1.201 MB / 448.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2693, allocations: 12.03 kB / 448.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.2698, allocations: 95.12 kB / 448.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.27, allocations: 222.4 kB / 448.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.27, allocations: 16.56 kB / 448.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.2701, allocations: 28 kB / 448.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2716, allocations: 1.263 MB / 449.9 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2716, allocations: 4 kB / 449.9 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.2716, allocations: 11.94 kB / 449.9 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.2717, allocations: 23.97 kB / 449.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.2741, allocations: 2.311 MB / 452.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.2764, allocations: 2.166 MB / 454.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.278, allocations: 1.346 MB / 455.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.2793, allocations: 1.282 MB / 457.1 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02191/0.3013, allocations: 11.21 MB / 468.3 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.3013, allocations: 43.12 kB / 468.3 MB, free: 5.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=185): time 5.931e-06/0.3014, allocations: 0 / 468.3 MB, free: 5.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=185): time 0.004746/0.3061, allocations: 3.603 MB / 471.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3062, allocations: 59.97 kB / 472 MB, free: 1.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3063, allocations: 113.7 kB / 472.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.3064, allocations: 41.7 kB / 472.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.3065, allocations: 87.06 kB / 472.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.3069, allocations: 0.5693 MB / 472.8 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.3071, allocations: 154.2 kB / 472.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3072, allocations: 313.9 kB / 473.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.3084, allocations: 1.022 MB / 474.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3096, allocations: 1.035 MB / 475.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.312, allocations: 2.229 MB / 477.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.312, allocations: 4 kB / 477.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002788/0.3148, allocations: 2.336 MB / 479.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3149, allocations: 4 kB / 479.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3149, allocations: 3.984 kB / 479.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3149, allocations: 4 kB / 479.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.3156, allocations: 119.8 kB / 480 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3156, allocations: 0 / 480 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.316, allocations: 86.95 kB / 480.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.3161, allocations: 27.91 kB / 480.1 MB, free: 9.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.000226/0.3163, allocations: 174.8 kB / 480.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.3165, allocations: 59.23 kB / 480.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.3198, allocations: 2.64 MB / 483 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/0.3199, allocations: 27.95 kB / 483 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3199, allocations: 0 / 483 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.3199, allocations: 3.984 kB / 483 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3211, allocations: 1.182 MB / 484.2 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3211, allocations: 0 / 484.2 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/0.3218, allocations: 135.8 kB / 484.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/0.3218, allocations: 4 kB / 484.3 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.3219, allocations: 19.98 kB / 484.3 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.3219, allocations: 4 kB / 484.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3219, allocations: 0 / 484.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/0.3263, allocations: 4.254 MB / 488.6 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.3266, allocations: 211.9 kB / 488.8 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.3267, allocations: 15.94 kB / 488.8 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.3271, allocations: 23.98 kB / 488.8 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3272, allocations: 52.92 kB / 488.9 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.3273, allocations: 20 kB / 488.9 MB, free: 468 kB / 362.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.3273, allocations: 91.27 kB / 489 MB, free: 376 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3273, allocations: 0 / 489 MB, free: 376 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.002426/0.3298, allocations: 0.8902 MB / 489.9 MB, free: 15.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.004052/0.3338, allocations: 1.322 MB / 491.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.3368, allocations: 2.353 MB / 493.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3369, allocations: 0 / 493.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.3382, allocations: 1.256 MB / 494.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.3401, allocations: 347.4 kB / 495.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.3429, allocations: 2.736 MB / 497.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3433, allocations: 0.9328 MB / 498.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006143/0.344, allocations: 254.6 kB / 499.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3442, allocations: 59.41 kB / 499.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3442, allocations: 0 / 499.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of Templates: time 0.1806/0.5248, allocations: 37.85 MB / 0.5244 GB, free: 82.61 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1)