Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.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.001288/0.001288, allocations: 104.6 kB / 16.45 MB, free: 6.453 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.001402/0.001402, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.386/1.386, allocations: 207.6 MB / 229.8 MB, free: 11.39 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.05273/0.05273, allocations: 9.158 MB / 290.8 MB, free: 13.88 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.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",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.002193/0.002193, allocations: 77.73 kB / 405.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06762/0.06981, allocations: 50.71 MB / 456.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.0313/0.1011, allocations: 19.02 MB / 475.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009375/0.1105, allocations: 7.391 MB / 483 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1106, allocations: 0 / 483 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1117, allocations: 494.8 kB / 483.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.1122, allocations: 282.4 kB / 483.7 MB, free: 2.93 MB / 350.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.01023/0.1225, allocations: 4.39 MB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.1229, allocations: 365.9 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.69e-05/0.123, allocations: 16.3 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.1233, allocations: 159.3 kB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1234, allocations: 75.61 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1234, allocations: 0 / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.1354, allocations: 7.182 MB / 495.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.1354, allocations: 7.875 kB / 495.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.1356, allocations: 99.5 kB / 496 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006322/0.1419, allocations: 3.145 MB / 499.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1419, allocations: 0 / 499.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1419, allocations: 0 / 499.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.142, allocations: 0 / 499.2 MB, free: 3.477 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001434/0.1434, allocations: 0.7689 MB / 499.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1434, allocations: 12.03 kB / 499.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.1435, allocations: 54.53 kB / 500 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1435, allocations: 15.86 kB / 0.4883 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.1437, allocations: 186.8 kB / 0.4885 GB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1437, allocations: 7.938 kB / 0.4885 GB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1437, allocations: 0 / 0.4885 GB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.1439, allocations: 169 kB / 0.4886 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.144, allocations: 0 / 0.4886 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.144, allocations: 3.938 kB / 0.4886 GB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.144, allocations: 7.984 kB / 0.4887 GB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1441, allocations: 140.5 kB / 0.4888 GB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.1445, allocations: 311.7 kB / 0.4891 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1446, allocations: 151 kB / 0.4892 GB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.1448, allocations: 137.9 kB / 0.4894 GB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05465/0.1994, allocations: 28.59 MB / 0.5173 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.1995, allocations: 38.5 kB / 0.5173 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 1.973e-06/0.1995, allocations: 0 / 0.5173 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007403/0.2002, allocations: 0.53 MB / 0.5178 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2002, allocations: 51.41 kB / 0.5179 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.2003, allocations: 105.8 kB / 0.518 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2004, allocations: 25.7 kB / 0.518 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.2004, allocations: 81.45 kB / 0.5181 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.2006, allocations: 210.1 kB / 0.5183 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.2006, allocations: 45.69 kB / 0.5183 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2008, allocations: 334.8 kB / 0.5186 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2009, allocations: 128.5 kB / 0.5188 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2011, allocations: 134.7 kB / 0.5189 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.2014, allocations: 340.2 kB / 0.5192 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2014, allocations: 3.938 kB / 0.5192 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004184/0.2019, allocations: 370 kB / 0.5196 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2019, allocations: 8 kB / 0.5196 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2019, allocations: 0 / 0.5196 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2019, allocations: 0 / 0.5196 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.2019, allocations: 0 / 0.5196 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2019, allocations: 0 / 0.5196 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.202, allocations: 23.73 kB / 0.5196 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.202, allocations: 7.938 kB / 0.5196 GB, free: 13.5 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: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.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 (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001257/0.2021, allocations: 129.8 kB / 0.5197 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2021, allocations: 19.86 kB / 0.5198 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.2029, allocations: 0.7034 MB / 0.5204 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.2029, allocations: 7.984 kB / 0.5205 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2029, allocations: 0 / 0.5205 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2029, allocations: 0 / 0.5205 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.2032, allocations: 289.7 kB / 0.5207 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2032, allocations: 0 / 0.5207 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.2032, allocations: 0 / 0.5207 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2032, allocations: 4 kB / 0.5207 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2032, allocations: 0 / 0.5207 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2032, allocations: 7.938 kB / 0.5207 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2032, allocations: 0 / 0.5207 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.2036, allocations: 329.4 kB / 0.5211 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.2037, allocations: 100.9 kB / 0.5212 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2037, allocations: 11.89 kB / 0.5212 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.2038, allocations: 0 / 0.5212 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.2038, allocations: 7.984 kB / 0.5212 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2038, allocations: 8 kB / 0.5212 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.772e-05/0.2039, allocations: 119.5 kB / 0.5213 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2039, allocations: 0 / 0.5213 GB, free: 11.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001765/0.2056, allocations: 0.7011 MB / 0.522 GB, free: 10.93 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: 6 (sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0036/0.2092, allocations: 1.771 MB / 0.5237 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.2096, allocations: 255.5 kB / 0.524 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2096, allocations: 0 / 0.524 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2097, allocations: 116.3 kB / 0.5241 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.211, allocations: 230.6 kB / 0.5243 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.214, allocations: 2.586 MB / 0.5268 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.2144, allocations: 0.7369 MB / 0.5275 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.143e-05/0.2145, allocations: 20.59 kB / 0.5275 GB, free: 5.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.2146, allocations: 51.42 kB / 0.5276 GB, free: 5.039 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2146, allocations: 0 / 0.5276 GB, free: 5.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2123/0.4269, allocations: 28.33 MB / 0.5553 GB, free: 75.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.238/9.665, allocations: 13.03 kB / 0.5553 GB, free: 75.96 MB / 414.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.137829734012485] Failed to read output from testmodel.py, exit status != 0: 9.753067081794143 9.773260257 9.627594049 Calling exit ...