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.001937/0.001937, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002546/0.002546, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.781 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.0545/0.0545, allocations: 9.134 MB / 321.6 MB, free: 10.23 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.002277/0.002277, allocations: 71.89 kB / 447.1 MB, free: 44 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1304, allocations: 54.93 MB / 0.4902 GB, free: 9.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02679/0.1572, allocations: 17.9 MB / 0.5077 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2837/0.4408, allocations: 15.16 MB / 0.5225 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.4412, allocations: 2.156 kB / 0.5225 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.4427, allocations: 0.5174 MB / 0.523 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.4584, allocations: 5.553 MB / 0.5284 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.4629, allocations: 1.084 MB / 0.5295 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.4642, allocations: 0.7915 MB / 0.5303 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.4643, allocations: 24.31 kB / 0.5303 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.4648, allocations: 355.5 kB / 0.5306 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.4652, allocations: 277.3 kB / 0.5309 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.4653, allocations: 28.88 kB / 0.5309 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.4826, allocations: 6.601 MB / 0.5374 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.4828, allocations: 104.5 kB / 0.5375 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.4832, allocations: 223.6 kB / 0.5377 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.4937, allocations: 3.497 MB / 0.5411 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4937, allocations: 3.562 kB / 0.5411 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4937, allocations: 3.938 kB / 0.5411 GB, free: 4.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.4937, allocations: 3.938 kB / 0.5411 GB, free: 4.395 MB / 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.003101/0.4968, allocations: 1.15 MB / 0.5422 GB, free: 3.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4968, allocations: 9.375 kB / 0.5422 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004858/0.4973, allocations: 101.9 kB / 0.5423 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.4975, allocations: 154.4 kB / 0.5425 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.4975, allocations: 22.66 kB / 0.5425 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.4976, allocations: 23.81 kB / 0.5425 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.4992, allocations: 1.336 MB / 0.5438 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4993, allocations: 3.938 kB / 0.5438 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.4993, allocations: 13 kB / 0.5439 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.4993, allocations: 23.89 kB / 0.5439 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.5019, allocations: 2.434 MB / 0.5463 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.5039, allocations: 2.062 MB / 0.5483 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.5052, allocations: 1.183 MB / 0.5494 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.5066, allocations: 1.115 MB / 0.5505 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01839/0.525, allocations: 3.924 MB / 0.5543 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.5251, allocations: 47.2 kB / 0.5544 GB, free: 13.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 3.467e-06/0.5251, allocations: 0 / 0.5544 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.00575/0.5308, allocations: 3.805 MB / 0.5581 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.5309, allocations: 56.06 kB / 0.5582 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.531, allocations: 117.7 kB / 0.5583 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.531, allocations: 33.7 kB / 0.5583 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.5311, allocations: 91.08 kB / 0.5584 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/0.5317, allocations: 0.616 MB / 0.559 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.5319, allocations: 150.3 kB / 0.5591 GB, free: 8.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5321, allocations: 306 kB / 0.5594 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.5335, allocations: 1.092 MB / 0.5605 GB, free: 7.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.5349, allocations: 1.098 MB / 0.5616 GB, free: 6.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.5379, allocations: 2.363 MB / 0.5639 GB, free: 3.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5379, allocations: 4 kB / 0.5639 GB, free: 3.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003446/0.5413, allocations: 2.471 MB / 0.5663 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5413, allocations: 4 kB / 0.5663 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.5413, allocations: 4 kB / 0.5663 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5414, allocations: 3.938 kB / 0.5663 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005919/0.542, allocations: 119.8 kB / 0.5664 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.542, allocations: 4.547 kB / 0.5664 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.5425, allocations: 89.11 kB / 0.5665 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.5426, allocations: 27.92 kB / 0.5665 GB, free: 1.066 MB / 398.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.0002523/0.5429, allocations: 173.8 kB / 0.5667 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.5431, allocations: 51.62 kB / 0.5667 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/0.5471, allocations: 2.782 MB / 0.5695 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-05/0.5472, allocations: 27.8 kB / 0.5695 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.5472, allocations: 0 / 0.5695 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.5472, allocations: 4.484 kB / 0.5695 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.5487, allocations: 1.031 MB / 0.5705 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.5487, allocations: 0 / 0.5705 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.5493, allocations: 139.7 kB / 0.5706 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.5493, allocations: 4 kB / 0.5706 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.5494, allocations: 16 kB / 0.5707 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.5494, allocations: 7.984 kB / 0.5707 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5494, allocations: 0 / 0.5707 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.5528, allocations: 2.453 MB / 0.5731 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.5532, allocations: 147.5 kB / 0.5732 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.5532, allocations: 16 kB / 0.5732 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.5537, allocations: 19.98 kB / 0.5732 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5538, allocations: 52.89 kB / 0.5733 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.5538, allocations: 24.75 kB / 0.5733 GB, free: 10.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.5539, allocations: 88.98 kB / 0.5734 GB, free: 10.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5539, allocations: 4 kB / 0.5734 GB, free: 10.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003607/0.5575, allocations: 0.896 MB / 0.5743 GB, free: 9.109 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.005834/0.5633, allocations: 1.32 MB / 0.5756 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003601/0.5669, allocations: 2.252 MB / 0.5778 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5669, allocations: 0 / 0.5778 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.5691, allocations: 1.073 MB / 0.5788 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.5714, allocations: 347.3 kB / 0.5791 GB, free: 4.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.5744, allocations: 1.706 MB / 0.5808 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.5748, allocations: 294.5 kB / 0.5811 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007375/0.5755, allocations: 249.4 kB / 0.5813 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.5757, allocations: 59.41 kB / 0.5814 GB, free: 1.965 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5757, allocations: 0 / 0.5814 GB, free: 1.965 MB / 414.1 MB Notification: Performance of Templates: time 0.07/0.6457, allocations: 40.14 MB / 0.6206 GB, free: 10.11 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: 7.080099280923605] Failed to read output from testmodel.py, exit status != 0: 0.6549208182841539 0.6724719069999999 0.17527941100000002 Calling exit ...