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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04889/0.04889, allocations: 9.06 MB / 279.4 MB, free: 12.15 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005189, allocations: 12.22 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09393, allocations: 49.19 MB / 388.3 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01998/0.114, allocations: 16.4 MB / 404.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.129, allocations: 14.59 MB / 419.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.1295, allocations: 7.938 kB / 419.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.1309, allocations: 482.3 kB / 419.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.1436, allocations: 4.438 MB / 424.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.1462, allocations: 0.8415 MB / 425 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1472, allocations: 0.5389 MB / 425.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1473, allocations: 49.7 kB / 425.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/0.148, allocations: 362.8 kB / 426 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.1483, allocations: 294.9 kB / 426.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.1484, allocations: 28 kB / 426.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2258/0.3742, allocations: 8.926 MB / 435.2 MB, free: 17.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.3744, allocations: 89.09 kB / 435.3 MB, free: 17.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.3748, allocations: 124.2 kB / 435.4 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007338/0.3821, allocations: 2.244 MB / 437.7 MB, free: 16.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3821, allocations: 1.438 kB / 437.7 MB, free: 16.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3821, allocations: 0.6562 kB / 437.7 MB, free: 16.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3822, allocations: 0 / 437.7 MB, free: 16.95 MB / 318.1 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.003657/0.3858, allocations: 1.166 MB / 438.8 MB, free: 16.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3859, allocations: 9.469 kB / 438.8 MB, free: 16.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.3864, allocations: 86.83 kB / 438.9 MB, free: 16.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.3866, allocations: 222.3 kB / 439.1 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.3867, allocations: 25.28 kB / 439.2 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.3868, allocations: 28.98 kB / 439.2 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.3883, allocations: 1.266 MB / 440.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3884, allocations: 0 / 440.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.3884, allocations: 10.16 kB / 440.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.3885, allocations: 26.84 kB / 440.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.3911, allocations: 2.324 MB / 442.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.3937, allocations: 2.16 MB / 445 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.3952, allocations: 1.354 MB / 446.3 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01979/0.415, allocations: 10.95 MB / 457.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.4151, allocations: 37.22 kB / 457.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=185): time 4.148e-06/0.4151, allocations: 0 / 457.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.004872/0.42, allocations: 4.213 MB / 461.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.4201, allocations: 58.12 kB / 461.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.4202, allocations: 121.5 kB / 461.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.4203, allocations: 35.33 kB / 461.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.4203, allocations: 83.08 kB / 461.8 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.4207, allocations: 0.5809 MB / 462.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.4207, allocations: 9.125 kB / 462.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.4208, allocations: 364.6 kB / 462.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4219, allocations: 1.025 MB / 463.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.4229, allocations: 1.038 MB / 464.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.4241, allocations: 1.087 MB / 465.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4241, allocations: 0 / 465.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002364/0.4265, allocations: 2.337 MB / 468.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4265, allocations: 10.5 kB / 468.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4265, allocations: 0 / 468.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4265, allocations: 0 / 468.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.4272, allocations: 122.6 kB / 468.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.4272, allocations: 6.812 kB / 468.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.4277, allocations: 92.16 kB / 468.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.4278, allocations: 24.27 kB / 468.5 MB, free: 2.008 MB / 318.1 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.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 initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.428, allocations: 168.2 kB / 468.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4282, allocations: 51.25 kB / 468.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/0.4311, allocations: 2.649 MB / 471.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/0.4312, allocations: 31.41 kB / 471.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4312, allocations: 0 / 471.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4313, allocations: 3.984 kB / 471.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.4328, allocations: 1.161 MB / 472.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.4328, allocations: 0 / 472.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.4335, allocations: 146.1 kB / 472.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.4335, allocations: 0 / 472.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/0.4336, allocations: 19.98 kB / 472.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4336, allocations: 0 / 472.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4336, allocations: 7.953 kB / 472.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.4366, allocations: 2.336 MB / 475.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.437, allocations: 222.5 kB / 475.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.437, allocations: 19.98 kB / 475.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.4375, allocations: 27.19 kB / 475.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4376, allocations: 44.92 kB / 475.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.4377, allocations: 27.98 kB / 475.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.4378, allocations: 79.28 kB / 475.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4378, allocations: 4 kB / 475.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003803/0.4416, allocations: 0.8823 MB / 476.4 MB, free: 10.65 MB / 334.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006664/0.4483, allocations: 1.308 MB / 477.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003489/0.4518, allocations: 2.363 MB / 480 MB, free: 7.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.4518, allocations: 4 kB / 480 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.4535, allocations: 1.253 MB / 481.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.4556, allocations: 327.3 kB / 481.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.4583, allocations: 1.966 MB / 483.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.4589, allocations: 0.8977 MB / 484.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006679/0.4596, allocations: 250.8 kB / 484.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.4598, allocations: 63.41 kB / 484.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4598, allocations: 1.859 kB / 484.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of Templates: time 0.06318/0.523, allocations: 36.19 MB / 0.5088 GB, free: 14.35 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: