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.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.001334/0.001334, allocations: 109.6 kB / 16.45 MB, free: 6.508 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.002092/0.002092, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.479/1.479, allocations: 207.6 MB / 229.8 MB, free: 4.219 MB / 174.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.05293/0.05293, allocations: 9.147 MB / 290.8 MB, free: 7.297 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.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: "" <> 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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 71.89 kB / 405.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2804, allocations: 50.71 MB / 456.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02217/0.3026, allocations: 17.97 MB / 474.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03614/0.3387, allocations: 32.28 MB / 0.4949 GB, free: 5.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.339, allocations: 0 / 0.4949 GB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.3401, allocations: 474 kB / 0.4954 GB, free: 5.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.3406, allocations: 151.1 kB / 0.4955 GB, free: 4.906 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.02674/0.3673, allocations: 9.992 MB / 0.5053 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.3679, allocations: 382.4 kB / 0.5056 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.92e-05/0.368, allocations: 12.41 kB / 0.5057 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.3684, allocations: 183.3 kB / 0.5058 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.3686, allocations: 123.5 kB / 0.5059 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.3686, allocations: 12 kB / 0.506 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02405/0.3927, allocations: 11.63 MB / 0.5173 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3928, allocations: 47.83 kB / 0.5174 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.393, allocations: 103.5 kB / 0.5175 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.4093, allocations: 4.758 MB / 0.5221 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4093, allocations: 0 / 0.5221 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4093, allocations: 0 / 0.5221 GB, free: 9.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4093, allocations: 4 kB / 0.5221 GB, free: 9.602 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.002979/0.4123, allocations: 1.172 MB / 0.5233 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4123, allocations: 12.03 kB / 0.5233 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.4124, allocations: 46.55 kB / 0.5233 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.4126, allocations: 35.84 kB / 0.5233 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.413, allocations: 234.7 kB / 0.5236 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.413, allocations: 11.88 kB / 0.5236 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.413, allocations: 12 kB / 0.5236 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.4137, allocations: 263.4 kB / 0.5238 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4137, allocations: 4 kB / 0.5238 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.4137, allocations: 4 kB / 0.5238 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4137, allocations: 7.938 kB / 0.5239 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.4145, allocations: 228 kB / 0.5241 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.4157, allocations: 1.079 MB / 0.5251 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.4163, allocations: 222.3 kB / 0.5253 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.4167, allocations: 139.3 kB / 0.5255 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1094/0.526, allocations: 46.24 MB / 0.5706 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.5261, allocations: 50.42 kB / 0.5707 GB, free: 15.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.5261, allocations: 0 / 0.5707 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00163/0.5277, allocations: 464.7 kB / 0.5711 GB, free: 15.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.5278, allocations: 136.5 kB / 0.5712 GB, free: 15.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.528, allocations: 175.8 kB / 0.5714 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.528, allocations: 25.8 kB / 0.5714 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.5281, allocations: 132.5 kB / 0.5716 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.5282, allocations: 91.2 kB / 0.5717 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.5283, allocations: 41.69 kB / 0.5717 GB, free: 14.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5284, allocations: 330.8 kB / 0.572 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.5288, allocations: 111.9 kB / 0.5721 GB, free: 14.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.5291, allocations: 165.9 kB / 0.5723 GB, free: 13.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.5297, allocations: 279.3 kB / 0.5725 GB, free: 13.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5297, allocations: 0 / 0.5725 GB, free: 13.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007686/0.5305, allocations: 326.1 kB / 0.5729 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5305, allocations: 8.031 kB / 0.5729 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5305, allocations: 0 / 0.5729 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5306, allocations: 4 kB / 0.5729 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.5308, allocations: 47.89 kB / 0.5729 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5308, allocations: 4 kB / 0.5729 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.531, allocations: 31.8 kB / 0.5729 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.5311, allocations: 12 kB / 0.573 GB, free: 13.25 MB / 462.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.0001381/0.5312, allocations: 137.7 kB / 0.5731 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.5313, allocations: 23.86 kB / 0.5731 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.532, allocations: 357 kB / 0.5734 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.532, allocations: 4 kB / 0.5735 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.532, allocations: 4 kB / 0.5735 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.532, allocations: 11.92 kB / 0.5735 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.5326, allocations: 321.8 kB / 0.5738 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5326, allocations: 0 / 0.5738 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.5328, allocations: 47.89 kB / 0.5738 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5328, allocations: 0 / 0.5738 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.5328, allocations: 4 kB / 0.5738 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5328, allocations: 192 / 0.5738 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5328, allocations: 4 kB / 0.5738 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.5337, allocations: 0.6508 MB / 0.5745 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.5338, allocations: 100.9 kB / 0.5746 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.5338, allocations: 4 kB / 0.5746 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.5342, allocations: 19.97 kB / 0.5746 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.5342, allocations: 23.91 kB / 0.5746 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.5343, allocations: 4 kB / 0.5746 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.5344, allocations: 128.1 kB / 0.5747 GB, free: 11.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5344, allocations: 0 / 0.5747 GB, free: 11.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002347/0.5367, allocations: 0.8139 MB / 0.5755 GB, free: 10.52 MB / 462.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.004741/0.5415, allocations: 2.288 MB / 0.5778 GB, free: 8.199 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008127/0.5423, allocations: 263.9 kB / 0.578 GB, free: 7.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5423, allocations: 0 / 0.578 GB, free: 7.941 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.5426, allocations: 139.9 kB / 0.5781 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009342/0.5436, allocations: 108.5 kB / 0.5782 GB, free: 7.699 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.5486, allocations: 3.039 MB / 0.5812 GB, free: 4.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.549, allocations: 0.7402 MB / 0.5819 GB, free: 3.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.5492, allocations: 48.48 kB / 0.582 GB, free: 3.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.5493, allocations: 71.41 kB / 0.5821 GB, free: 3.645 MB / 462.1 MB Notification: Performance of SimCode: time 1.143e-06/0.5493, allocations: 0 / 0.5821 GB, free: 3.645 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.234/0.7834, allocations: 27.09 MB / 0.6085 GB, free: 138.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.357/10.14, allocations: 6.094 kB / 0.6085 GB, free: 138.3 MB / 478.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.637157022953033] Failed to read output from testmodel.py, exit status != 0: 10.229590544011444 10.249623123 9.836109439 Calling exit ...