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.0008579/0.0008583, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000935/0.0009351, allocations: 168.7 kB / 15.95 MB, free: 204 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.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04274/0.04274, allocations: 9.066 MB / 279.5 MB, free: 12.25 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.0004645/0.0004646, allocations: 15.98 kB / 339.1 MB, free: 25.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08412/0.0846, allocations: 49.19 MB / 388.3 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01953/0.1042, allocations: 18.26 MB / 406.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.1195, allocations: 16 MB / 422.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.12, allocations: 4 kB / 422.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1213, allocations: 473.8 kB / 423.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.1336, allocations: 4.29 MB / 427.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.1365, allocations: 0.7775 MB / 428.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.1376, allocations: 0.7433 MB / 428.9 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.1378, allocations: 49.7 kB / 428.9 MB, free: 44 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1983/0.3361, allocations: 310.3 kB / 429.2 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.3366, allocations: 292.3 kB / 429.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.3367, allocations: 31.12 kB / 429.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01673/0.3534, allocations: 7.867 MB / 437.4 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.3537, allocations: 89.06 kB / 437.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.3541, allocations: 122.5 kB / 437.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007103/0.3612, allocations: 2.343 MB / 439.9 MB, free: 18.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.3613, allocations: 0 / 439.9 MB, free: 18.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.961e-06/0.3613, allocations: 4 kB / 440 MB, free: 18.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3613, allocations: 2.844 kB / 440 MB, free: 18.31 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.004793/0.3661, allocations: 1.166 MB / 441.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.3662, allocations: 13.66 kB / 441.1 MB, free: 17.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.3667, allocations: 87.08 kB / 441.2 MB, free: 17.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3669, allocations: 232.8 kB / 441.4 MB, free: 17.35 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.367, allocations: 22.19 kB / 441.5 MB, free: 17.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.367, allocations: 28.86 kB / 441.5 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.3688, allocations: 1.259 MB / 442.8 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3689, allocations: 5.531 kB / 442.8 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.3689, allocations: 9.125 kB / 442.8 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.369, allocations: 25.08 kB / 442.8 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.3712, allocations: 2.32 MB / 445.1 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.3735, allocations: 2.174 MB / 447.3 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.375, allocations: 1.342 MB / 448.6 MB, free: 16.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.3761, allocations: 1.279 MB / 449.9 MB, free: 16.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/0.3929, allocations: 10.91 MB / 460.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/0.393, allocations: 43.8 kB / 460.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=185): time 3.427e-06/0.3931, allocations: 3.688 kB / 460.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.004031/0.3971, allocations: 3.589 MB / 464.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3972, allocations: 65.83 kB / 464.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.3972, allocations: 114.5 kB / 464.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.3973, allocations: 35.95 kB / 464.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.3973, allocations: 89.89 kB / 464.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.3976, allocations: 0.5724 MB / 465.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.3976, allocations: 13.03 kB / 465.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.3977, allocations: 371 kB / 465.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008663/0.3986, allocations: 1.03 MB / 466.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/0.3995, allocations: 1.037 MB / 467.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.4004, allocations: 1.084 MB / 468.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4004, allocations: 0 / 468.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002102/0.4025, allocations: 2.338 MB / 471.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4025, allocations: 4 kB / 471.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4025, allocations: 4 kB / 471.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4026, allocations: 0 / 471.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.4031, allocations: 126.3 kB / 471.3 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4032, allocations: 3.953 kB / 471.3 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.4036, allocations: 92.64 kB / 471.4 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.4036, allocations: 23.98 kB / 471.4 MB, free: 264 kB / 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.0001734/0.4038, allocations: 168.9 kB / 471.6 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4039, allocations: 51.25 kB / 471.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.4071, allocations: 2.656 MB / 474.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/0.4072, allocations: 27.36 kB / 474.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4072, allocations: 0 / 474.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4072, allocations: 3.984 kB / 474.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.4084, allocations: 1.17 MB / 475.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4084, allocations: 0 / 475.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/0.409, allocations: 142 kB / 475.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4091, allocations: 4 kB / 475.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.4091, allocations: 19.98 kB / 475.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.4091, allocations: 4 kB / 475.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4091, allocations: 0 / 475.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.4119, allocations: 2.34 MB / 478 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.4122, allocations: 215.7 kB / 478.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.4123, allocations: 19.98 kB / 478.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.4126, allocations: 16 kB / 478.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.4127, allocations: 56.88 kB / 478.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.4128, allocations: 23.98 kB / 478.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.469e-05/0.4129, allocations: 83.28 kB / 478.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4129, allocations: 0 / 478.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003248/0.4161, allocations: 0.889 MB / 479.3 MB, free: 8.363 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.003953/0.4201, allocations: 1.313 MB / 480.6 MB, free: 7.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.4229, allocations: 2.355 MB / 483 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4229, allocations: 4 kB / 483 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4242, allocations: 1.262 MB / 484.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.4259, allocations: 343.5 kB / 484.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.4283, allocations: 1.96 MB / 486.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.4288, allocations: 0.886 MB / 487.4 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006562/0.4294, allocations: 251.8 kB / 487.7 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.4297, allocations: 59.41 kB / 487.7 MB, free: 100 kB / 334.1 MB Notification: Performance of SimCode: time 4.448e-06/0.4297, allocations: 0 / 487.7 MB, free: 100 kB / 334.1 MB Notification: Performance of Templates: time 0.05347/0.4832, allocations: 36.2 MB / 0.5116 GB, free: 12.05 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: