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.001329/0.001329, 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.001622/0.001622, allocations: 210.5 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.777 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.04911/0.04911, allocations: 9.135 MB / 321.6 MB, free: 10.18 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.89 kB / 446.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1028, allocations: 54.95 MB / 0.4897 GB, free: 9.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02114/0.1239, allocations: 16.28 MB / 0.5056 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2287/0.3526, allocations: 28.56 MB / 0.5335 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3527, allocations: 5.281 kB / 0.5335 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3538, allocations: 367.2 kB / 0.5338 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.3542, allocations: 152.4 kB / 0.534 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02302/0.3772, allocations: 10.01 MB / 0.5437 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.3777, allocations: 396.6 kB / 0.5441 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.058e-05/0.3778, allocations: 14.42 kB / 0.5441 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.3782, allocations: 188 kB / 0.5443 GB, free: 492 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3784, allocations: 116.2 kB / 0.5444 GB, free: 424 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.3784, allocations: 13.34 kB / 0.5444 GB, free: 424 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/0.396, allocations: 8.139 MB / 0.5524 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.3961, allocations: 42.88 kB / 0.5524 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3963, allocations: 93.48 kB / 0.5525 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.4077, allocations: 4.174 MB / 0.5566 GB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4077, allocations: 0 / 0.5566 GB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4077, allocations: 0 / 0.5566 GB, free: 9.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.4077, allocations: 1.625 kB / 0.5566 GB, free: 9.387 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.002319/0.4101, allocations: 1.095 MB / 0.5577 GB, free: 8.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4101, allocations: 9.625 kB / 0.5577 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.4102, allocations: 48.05 kB / 0.5577 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006958/0.4108, allocations: 103.7 kB / 0.5578 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.4112, allocations: 171.5 kB / 0.558 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4112, allocations: 9.938 kB / 0.558 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.4112, allocations: 11 kB / 0.558 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.4118, allocations: 319.1 kB / 0.5583 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4118, allocations: 0 / 0.5583 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.4119, allocations: 11.19 kB / 0.5583 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4119, allocations: 11.02 kB / 0.5583 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.4125, allocations: 222.6 kB / 0.5585 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009584/0.4134, allocations: 0.8745 MB / 0.5594 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.4139, allocations: 220.6 kB / 0.5596 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.4142, allocations: 142.7 kB / 0.5597 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06422/0.4784, allocations: 14.61 MB / 0.574 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.4785, allocations: 38.56 kB / 0.574 GB, free: 9.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.334e-06/0.4785, allocations: 0 / 0.574 GB, free: 9.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001543/0.48, allocations: 480.3 kB / 0.5745 GB, free: 9.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.4801, allocations: 132.5 kB / 0.5746 GB, free: 9.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.4803, allocations: 184.8 kB / 0.5748 GB, free: 8.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.4803, allocations: 29.7 kB / 0.5748 GB, free: 8.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.4804, allocations: 128.8 kB / 0.575 GB, free: 8.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.4805, allocations: 91.16 kB / 0.575 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.4806, allocations: 53.58 kB / 0.5751 GB, free: 8.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4807, allocations: 326.8 kB / 0.5754 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.481, allocations: 107.9 kB / 0.5755 GB, free: 8.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.4813, allocations: 165.9 kB / 0.5757 GB, free: 7.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.4819, allocations: 291.2 kB / 0.5759 GB, free: 7.656 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4819, allocations: 3.938 kB / 0.5759 GB, free: 7.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006839/0.4826, allocations: 327.1 kB / 0.5763 GB, free: 7.328 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4826, allocations: 8 kB / 0.5763 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4826, allocations: 192 / 0.5763 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4826, allocations: 4 kB / 0.5763 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.4829, allocations: 55.83 kB / 0.5763 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4829, allocations: 0 / 0.5763 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.4831, allocations: 31.86 kB / 0.5764 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.4831, allocations: 8.094 kB / 0.5764 GB, free: 7.223 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.000127/0.4832, allocations: 130.4 kB / 0.5765 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.4833, allocations: 31.8 kB / 0.5765 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006681/0.484, allocations: 388.3 kB / 0.5769 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.484, allocations: 8.922 kB / 0.5769 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.484, allocations: 0 / 0.5769 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.484, allocations: 11.98 kB / 0.5769 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.4845, allocations: 272.8 kB / 0.5772 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4845, allocations: 4 kB / 0.5772 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.4847, allocations: 41.33 kB / 0.5772 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4847, allocations: 0 / 0.5772 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.4847, allocations: 4 kB / 0.5772 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4847, allocations: 11.92 kB / 0.5772 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4847, allocations: 0 / 0.5772 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.4856, allocations: 0.6512 MB / 0.5779 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.4856, allocations: 23.8 kB / 0.5779 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.4856, allocations: 4 kB / 0.5779 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.4859, allocations: 24.62 kB / 0.5779 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.486, allocations: 23.89 kB / 0.5779 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.486, allocations: 15.94 kB / 0.5779 GB, free: 5.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4861, allocations: 128.4 kB / 0.5781 GB, free: 5.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4861, allocations: 4 kB / 0.5781 GB, free: 5.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002496/0.4886, allocations: 0.8061 MB / 0.5789 GB, free: 4.586 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.00427/0.4929, allocations: 2.304 MB / 0.5811 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.4936, allocations: 263.7 kB / 0.5814 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4936, allocations: 4.375 kB / 0.5814 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.4939, allocations: 147.8 kB / 0.5815 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000843/0.4948, allocations: 103.9 kB / 0.5816 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.499, allocations: 3.088 MB / 0.5846 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.4992, allocations: 129.7 kB / 0.5847 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.4993, allocations: 56.09 kB / 0.5848 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.4995, allocations: 71.41 kB / 0.5849 GB, free: 14.28 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4995, allocations: 0 / 0.5849 GB, free: 14.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06406/0.5635, allocations: 28.04 MB / 0.6122 GB, free: 2.418 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.29, allocations: 2.188 kB / 0.6122 GB, free: 2.418 MB / 446.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.914657211862504] Failed to read output from testmodel.py, exit status != 0: 12.40995186008513 12.426869743 12.015684121 Calling exit ...