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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 105.7 kB / 16.45 MB, free: 6.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 196.5 kB / 19.41 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05245/0.05245, allocations: 9.156 MB / 290.8 MB, free: 13.92 MB / 238.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002017/0.002017, allocations: 71.33 kB / 405.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06917/0.07119, allocations: 50.72 MB / 456.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02453/0.09571, allocations: 19.86 MB / 476.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.1141, allocations: 17.17 MB / 493.6 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004716/0.1145, allocations: 4 kB / 493.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.116, allocations: 0.6343 MB / 494.3 MB, free: 8.375 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01298/0.129, allocations: 5.558 MB / 499.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.1318, allocations: 1.081 MB / 0.4892 GB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.1328, allocations: 0.8018 MB / 0.4899 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.1329, allocations: 21.78 kB / 0.49 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004519/0.1334, allocations: 342.7 kB / 0.4903 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.1338, allocations: 294.7 kB / 0.4906 GB, free: 272 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.1338, allocations: 28 kB / 0.4906 GB, free: 244 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01949/0.1533, allocations: 9.615 MB / 0.5 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.1535, allocations: 87.59 kB / 0.5001 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.154, allocations: 278.5 kB / 0.5003 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.1673, allocations: 4.118 MB / 0.5044 GB, free: 2.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1673, allocations: 0 / 0.5044 GB, free: 2.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1673, allocations: 0 / 0.5044 GB, free: 2.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1673, allocations: 0 / 0.5044 GB, free: 2.117 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.00299/0.1703, allocations: 1.235 MB / 0.5056 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1703, allocations: 12.03 kB / 0.5056 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.1704, allocations: 102.5 kB / 0.5057 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.1709, allocations: 95.56 kB / 0.5058 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1711, allocations: 222.3 kB / 0.506 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.1711, allocations: 20.56 kB / 0.506 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.1712, allocations: 24 kB / 0.506 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.1727, allocations: 1.259 MB / 0.5072 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1728, allocations: 0 / 0.5072 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.1728, allocations: 11.94 kB / 0.5073 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.1728, allocations: 31.86 kB / 0.5073 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.1755, allocations: 2.315 MB / 0.5095 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.178, allocations: 2.155 MB / 0.5117 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.1795, allocations: 1.127 MB / 0.5128 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.1807, allocations: 1.048 MB / 0.5138 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02367/0.2044, allocations: 11.21 MB / 0.5247 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.2044, allocations: 51.12 kB / 0.5248 GB, free: 11.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 3.076e-06/0.2044, allocations: 0 / 0.5248 GB, free: 11.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.004792/0.2092, allocations: 3.6 MB / 0.5283 GB, free: 7.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2093, allocations: 59.97 kB / 0.5283 GB, free: 7.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2094, allocations: 113.8 kB / 0.5285 GB, free: 7.422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.2095, allocations: 41.7 kB / 0.5285 GB, free: 7.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.2095, allocations: 83.08 kB / 0.5286 GB, free: 7.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.21, allocations: 0.6077 MB / 0.5292 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.2103, allocations: 150.2 kB / 0.5293 GB, free: 6.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2104, allocations: 317.9 kB / 0.5296 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.2117, allocations: 1.018 MB / 0.5306 GB, free: 5.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.213, allocations: 1.035 MB / 0.5316 GB, free: 4.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/0.2158, allocations: 2.229 MB / 0.5338 GB, free: 1.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2158, allocations: 4 kB / 0.5338 GB, free: 1.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.2081/0.4238, allocations: 2.335 MB / 0.5361 GB, free: 88.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4238, allocations: 5.719 kB / 0.5361 GB, free: 88.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4239, allocations: 0 / 0.5361 GB, free: 88.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.4239, allocations: 2.875 kB / 0.5361 GB, free: 88.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.4245, allocations: 120.8 kB / 0.5362 GB, free: 88.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4245, allocations: 2.312 kB / 0.5362 GB, free: 88.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.4249, allocations: 92.02 kB / 0.5363 GB, free: 88.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.4249, allocations: 21.38 kB / 0.5363 GB, free: 88.48 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.0001936/0.4251, allocations: 167.3 kB / 0.5365 GB, free: 88.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4253, allocations: 56.11 kB / 0.5365 GB, free: 88.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.4284, allocations: 2.634 MB / 0.5391 GB, free: 87.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/0.4285, allocations: 27.98 kB / 0.5391 GB, free: 87.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4285, allocations: 0.5625 kB / 0.5391 GB, free: 87.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.4285, allocations: 9.031 kB / 0.5391 GB, free: 87.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.4295, allocations: 1.168 MB / 0.5403 GB, free: 86.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4295, allocations: 1.891 kB / 0.5403 GB, free: 86.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.4301, allocations: 137.7 kB / 0.5404 GB, free: 86.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4301, allocations: 3.406 kB / 0.5404 GB, free: 86.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.4301, allocations: 18.28 kB / 0.5404 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.4301, allocations: 6.219 kB / 0.5404 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.4301, allocations: 4 kB / 0.5404 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.4325, allocations: 2.337 MB / 0.5427 GB, free: 85.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4327, allocations: 227.8 kB / 0.5429 GB, free: 85.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.4327, allocations: 11.22 kB / 0.543 GB, free: 85.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.4331, allocations: 22.27 kB / 0.543 GB, free: 85.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.4332, allocations: 51.31 kB / 0.543 GB, free: 85.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.4332, allocations: 23.61 kB / 0.543 GB, free: 85.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.254e-05/0.4333, allocations: 87.84 kB / 0.5431 GB, free: 85.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4333, allocations: 3.469 kB / 0.5431 GB, free: 85.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002132/0.4354, allocations: 0.8908 MB / 0.544 GB, free: 85.33 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.006529/0.4419, allocations: 4.111 MB / 0.548 GB, free: 83.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.4445, allocations: 2.136 MB / 0.5501 GB, free: 82.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4445, allocations: 0 / 0.5501 GB, free: 82.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.4458, allocations: 1.012 MB / 0.5511 GB, free: 82.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.4474, allocations: 356.5 kB / 0.5514 GB, free: 81.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.4505, allocations: 2.054 MB / 0.5534 GB, free: 80.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.4507, allocations: 0.889 MB / 0.5543 GB, free: 80.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004721/0.4512, allocations: 242.5 kB / 0.5545 GB, free: 80.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4514, allocations: 195.6 kB / 0.5547 GB, free: 80.05 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4514, allocations: 0 / 0.5547 GB, free: 80.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/0.5168, allocations: 43.45 MB / 0.5972 GB, free: 38.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.31, allocations: 19.92 kB / 0.5972 GB, free: 38.49 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.831154447980225] Failed to read output from testmodel.py, exit status != 0: 11.401220091618598 11.410122554 11.240702305 Calling exit ...