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.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.001315/0.001315, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001493/0.001493, allocations: 208.4 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.0519/0.0519, allocations: 9.135 MB / 321.6 MB, free: 10.45 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.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.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.91 kB / 447.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1153, allocations: 54.93 MB / 0.4903 GB, free: 9.473 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.0246/0.1399, allocations: 19.96 MB / 0.5098 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2193/0.3592, allocations: 17.17 MB / 0.5266 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.3595, allocations: 3.875 kB / 0.5266 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.3608, allocations: 0.633 MB / 0.5272 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.3741, allocations: 5.595 MB / 0.5326 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.3774, allocations: 1.086 MB / 0.5337 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.3785, allocations: 0.8006 MB / 0.5345 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.3786, allocations: 29.22 kB / 0.5345 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.3791, allocations: 340.7 kB / 0.5348 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.3795, allocations: 303.6 kB / 0.5351 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.3796, allocations: 28.84 kB / 0.5352 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.3977, allocations: 9.929 MB / 0.5449 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3978, allocations: 93.34 kB / 0.5449 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.3983, allocations: 275.4 kB / 0.5452 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.4088, allocations: 4.139 MB / 0.5492 GB, free: 484 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4088, allocations: 1.25 kB / 0.5493 GB, free: 484 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4088, allocations: 0 / 0.5493 GB, free: 484 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.4088, allocations: 0 / 0.5493 GB, free: 484 kB / 382.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.002838/0.4116, allocations: 1.153 MB / 0.5504 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4117, allocations: 13.61 kB / 0.5504 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.4122, allocations: 94 kB / 0.5505 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.4124, allocations: 170.8 kB / 0.5506 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.4124, allocations: 20.09 kB / 0.5507 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.4125, allocations: 26.62 kB / 0.5507 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.4142, allocations: 1.333 MB / 0.552 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4142, allocations: 2.969 kB / 0.552 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.4142, allocations: 8 kB / 0.552 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.971e-05/0.4143, allocations: 29.62 kB / 0.552 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.4178, allocations: 2.439 MB / 0.5544 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.4208, allocations: 2.224 MB / 0.5566 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.4222, allocations: 1.173 MB / 0.5577 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.4234, allocations: 1.115 MB / 0.5588 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/0.4425, allocations: 3.924 MB / 0.5626 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.4425, allocations: 39.16 kB / 0.5627 GB, free: 6.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.865e-06/0.4425, allocations: 8 kB / 0.5627 GB, free: 6.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.005071/0.4476, allocations: 3.801 MB / 0.5664 GB, free: 3.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.4477, allocations: 60 kB / 0.5665 GB, free: 2.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4478, allocations: 114.4 kB / 0.5666 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.4478, allocations: 37.7 kB / 0.5666 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.4479, allocations: 87.08 kB / 0.5667 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.4484, allocations: 0.6079 MB / 0.5673 GB, free: 2.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.4486, allocations: 158.2 kB / 0.5674 GB, free: 1.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4488, allocations: 310 kB / 0.5677 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4501, allocations: 1.092 MB / 0.5688 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.4515, allocations: 1.098 MB / 0.5699 GB, free: 15.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.4545, allocations: 2.367 MB / 0.5722 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.4545, allocations: 0 / 0.5722 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003321/0.4578, allocations: 2.471 MB / 0.5746 GB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4578, allocations: 4 kB / 0.5746 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4578, allocations: 0 / 0.5746 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4579, allocations: 4 kB / 0.5746 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.4585, allocations: 127.7 kB / 0.5747 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4585, allocations: 4 kB / 0.5747 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.459, allocations: 91.17 kB / 0.5748 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.459, allocations: 19.98 kB / 0.5748 GB, free: 10.37 MB / 414.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_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.0002389/0.4592, allocations: 166 kB / 0.575 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.4594, allocations: 55.56 kB / 0.575 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.4631, allocations: 2.783 MB / 0.5778 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.524e-05/0.4632, allocations: 36.39 kB / 0.5778 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4632, allocations: 0 / 0.5778 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4632, allocations: 7.609 kB / 0.5778 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.4646, allocations: 1.18 MB / 0.579 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4646, allocations: 4 kB / 0.579 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.4653, allocations: 139.8 kB / 0.5791 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-06/0.4653, allocations: 4 kB / 0.5791 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.4653, allocations: 19.98 kB / 0.5791 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.4653, allocations: 7.875 kB / 0.5791 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4653, allocations: 4 kB / 0.5791 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.4685, allocations: 2.45 MB / 0.5815 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.4688, allocations: 143.6 kB / 0.5817 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.4689, allocations: 19.98 kB / 0.5817 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.4692, allocations: 19.94 kB / 0.5817 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4693, allocations: 52.89 kB / 0.5817 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.4694, allocations: 27.98 kB / 0.5818 GB, free: 3.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.4694, allocations: 79.28 kB / 0.5818 GB, free: 3.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4694, allocations: 4 kB / 0.5818 GB, free: 3.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002828/0.4723, allocations: 0.896 MB / 0.5827 GB, free: 2.238 MB / 414.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 (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.004614/0.4769, allocations: 1.32 MB / 0.584 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003307/0.4802, allocations: 2.252 MB / 0.5862 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4802, allocations: 3.938 kB / 0.5862 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.4816, allocations: 1.069 MB / 0.5873 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.4835, allocations: 345 kB / 0.5876 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.4862, allocations: 1.704 MB / 0.5893 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.4869, allocations: 0.8902 MB / 0.5901 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007622/0.4876, allocations: 249.3 kB / 0.5904 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.4879, allocations: 63.41 kB / 0.5904 GB, free: 10.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.038e-06/0.4879, allocations: 4 kB / 0.5904 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Templates: time 0.06246/0.5504, allocations: 39.51 MB / 0.629 GB, free: 3.152 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.651275448966771] Failed to read output from testmodel.py, exit status != 0: 0.5580845042131841 0.575067922 0.162800716 Calling exit ...