Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001749/0.001749, allocations: 102.7 kB / 16.4 MB, free: 6.512 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.001299/0.001299, allocations: 192.6 kB / 19.36 MB, free: 3.746 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.384/1.384, allocations: 205.1 MB / 227.2 MB, free: 12.15 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.05084/0.05084, allocations: 9.092 MB / 285.7 MB, free: 0.8438 MB / 222.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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",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.003235/0.003235, allocations: 73.08 kB / 395.6 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1029, allocations: 48.17 MB / 443.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02016/0.1231, allocations: 17.9 MB / 461.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03243/0.1556, allocations: 32.21 MB / 493.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.1558, allocations: 4 kB / 493.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1568, allocations: 418 kB / 494.3 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.1573, allocations: 139 kB / 494.5 MB, free: 4.172 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.typeClassSections: time 0.02578/0.1831, allocations: 9.422 MB / 0.4921 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005906/0.1837, allocations: 386.4 kB / 0.4925 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.425e-05/0.1837, allocations: 24.33 kB / 0.4925 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.184, allocations: 167.3 kB / 0.4926 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1843, allocations: 119.5 kB / 0.4927 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.1843, allocations: 12 kB / 0.4928 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.2046, allocations: 11.46 MB / 0.504 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.655e-05/0.2047, allocations: 43.83 kB / 0.504 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.2049, allocations: 111.5 kB / 0.5041 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.2167, allocations: 4.762 MB / 0.5088 GB, free: 9.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.2168, allocations: 8 kB / 0.5088 GB, free: 9.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2168, allocations: 0 / 0.5088 GB, free: 9.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2168, allocations: 0 / 0.5088 GB, free: 9.617 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002399/0.2192, allocations: 1.172 MB / 0.5099 GB, free: 8.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2193, allocations: 12.03 kB / 0.5099 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.2193, allocations: 46.55 kB / 0.51 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.2196, allocations: 35.84 kB / 0.51 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.2199, allocations: 226.7 kB / 0.5102 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.2199, allocations: 11.94 kB / 0.5102 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.22, allocations: 12 kB / 0.5102 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.2206, allocations: 267.4 kB / 0.5105 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2206, allocations: 0 / 0.5105 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2207, allocations: 0 / 0.5105 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.2207, allocations: 11.98 kB / 0.5105 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.2214, allocations: 220 kB / 0.5107 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2225, allocations: 1.079 MB / 0.5118 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.2231, allocations: 242.3 kB / 0.512 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.2234, allocations: 151.4 kB / 0.5121 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.265/0.4884, allocations: 46.25 MB / 0.5573 GB, free: 71.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4885, allocations: 42.41 kB / 0.5573 GB, free: 71.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.986e-06/0.4885, allocations: 0 / 0.5573 GB, free: 71.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001649/0.4902, allocations: 468.5 kB / 0.5578 GB, free: 71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.4902, allocations: 132.7 kB / 0.5579 GB, free: 70.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4904, allocations: 176.6 kB / 0.5581 GB, free: 70.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4905, allocations: 31.17 kB / 0.5581 GB, free: 70.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.4906, allocations: 118.1 kB / 0.5582 GB, free: 70.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.4907, allocations: 98.41 kB / 0.5583 GB, free: 70.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.4908, allocations: 38.67 kB / 0.5584 GB, free: 70.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.4908, allocations: 340.1 kB / 0.5587 GB, free: 70.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.4912, allocations: 115 kB / 0.5588 GB, free: 70.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.4915, allocations: 156.8 kB / 0.5589 GB, free: 69.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.4921, allocations: 284.8 kB / 0.5592 GB, free: 69.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4921, allocations: 3.969 kB / 0.5592 GB, free: 69.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007298/0.4929, allocations: 323.4 kB / 0.5595 GB, free: 69.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4929, allocations: 8.875 kB / 0.5595 GB, free: 69.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4929, allocations: 1.344 kB / 0.5595 GB, free: 69.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4929, allocations: 2.75 kB / 0.5595 GB, free: 69.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.4932, allocations: 51.23 kB / 0.5596 GB, free: 69.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4932, allocations: 2.75 kB / 0.5596 GB, free: 69.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4934, allocations: 30.16 kB / 0.5596 GB, free: 69.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.4934, allocations: 13.27 kB / 0.5596 GB, free: 69.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001173/0.4936, allocations: 133.6 kB / 0.5598 GB, free: 69.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4937, allocations: 22.11 kB / 0.5598 GB, free: 69.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006059/0.4943, allocations: 369 kB / 0.5601 GB, free: 69.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.4943, allocations: 7.188 kB / 0.5601 GB, free: 69.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4943, allocations: 1.219 kB / 0.5601 GB, free: 69.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4943, allocations: 2.094 kB / 0.5601 GB, free: 69.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.4948, allocations: 326.1 kB / 0.5604 GB, free: 68.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4948, allocations: 1.438 kB / 0.5604 GB, free: 68.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.495, allocations: 35.34 kB / 0.5605 GB, free: 68.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.495, allocations: 1.156 kB / 0.5605 GB, free: 68.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.495, allocations: 12.3 kB / 0.5605 GB, free: 68.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.495, allocations: 12.97 kB / 0.5605 GB, free: 68.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.495, allocations: 1.609 kB / 0.5605 GB, free: 68.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.4957, allocations: 0.636 MB / 0.5611 GB, free: 68.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.4958, allocations: 104.9 kB / 0.5612 GB, free: 68.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.4958, allocations: 2.156 kB / 0.5612 GB, free: 68.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.4961, allocations: 23.89 kB / 0.5613 GB, free: 68.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.4962, allocations: 24.34 kB / 0.5613 GB, free: 68.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4963, allocations: 12.45 kB / 0.5613 GB, free: 68.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.429e-05/0.4964, allocations: 122.1 kB / 0.5614 GB, free: 68.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4964, allocations: 0.7188 kB / 0.5614 GB, free: 68.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001911/0.4983, allocations: 0.8115 MB / 0.5622 GB, free: 68.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003433/0.5017, allocations: 2.275 MB / 0.5644 GB, free: 66.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006643/0.5024, allocations: 288.9 kB / 0.5647 GB, free: 66.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5024, allocations: 0 / 0.5647 GB, free: 66.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.5028, allocations: 155.4 kB / 0.5648 GB, free: 66.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.5036, allocations: 112.6 kB / 0.565 GB, free: 66.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.507, allocations: 3.045 MB / 0.5679 GB, free: 64.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.5072, allocations: 0.7424 MB / 0.5687 GB, free: 63.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.5074, allocations: 41.81 kB / 0.5687 GB, free: 63.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.5075, allocations: 74.7 kB / 0.5688 GB, free: 63.39 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5075, allocations: 2.062 kB / 0.5688 GB, free: 63.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05483/0.5623, allocations: 27.06 MB / 0.5952 GB, free: 36.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.544, allocations: 28.14 kB / 0.5952 GB, free: 36.76 MB / 414.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.004 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.065183343947865] Failed to read output from testmodel.py, exit status != 0: 9.629739250056446 9.647352265 9.427249774 Calling exit ...