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.001863/0.001863, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002367/0.002367, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.444/1.444, allocations: 207.6 MB / 233 MB, free: 10.01 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.05271/0.05271, allocations: 9.154 MB / 294.4 MB, free: 12.7 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.002246/0.002246, allocations: 72.39 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06734/0.06959, allocations: 50.76 MB / 461.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02274/0.09233, allocations: 19.05 MB / 480.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008509/0.1008, allocations: 7.387 MB / 488.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.101, allocations: 4 kB / 488.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1021, allocations: 498.7 kB / 488.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.1027, allocations: 270.5 kB / 489 MB, free: 1.445 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.01056/0.1133, allocations: 4.464 MB / 493.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.1137, allocations: 361.9 kB / 493.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.1138, allocations: 12.58 kB / 493.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.1141, allocations: 163.2 kB / 494 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1142, allocations: 75.61 kB / 494.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.1142, allocations: 0 / 494.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.1267, allocations: 7.494 MB / 0.4898 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.1267, allocations: 15.86 kB / 0.4898 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.1269, allocations: 99.5 kB / 0.4899 GB, free: 4.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006683/0.1336, allocations: 3.145 MB / 0.493 GB, free: 1.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1336, allocations: 4 kB / 0.493 GB, free: 1.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1336, allocations: 4 kB / 0.493 GB, free: 1.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1336, allocations: 0 / 0.493 GB, free: 1.594 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.001352/0.135, allocations: 0.6897 MB / 0.4937 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.135, allocations: 15.92 kB / 0.4937 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.1351, allocations: 58.53 kB / 0.4937 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.1351, allocations: 19.86 kB / 0.4938 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1352, allocations: 121 kB / 0.4939 GB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1352, allocations: 7.938 kB / 0.4939 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1352, allocations: 4 kB / 0.4939 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1355, allocations: 189.5 kB / 0.4941 GB, free: 432 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1355, allocations: 0 / 0.4941 GB, free: 432 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.1355, allocations: 4 kB / 0.4941 GB, free: 428 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1355, allocations: 3.984 kB / 0.4941 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1357, allocations: 148.6 kB / 0.4942 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.136, allocations: 294.9 kB / 0.4945 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1362, allocations: 167.1 kB / 0.4947 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1363, allocations: 154.1 kB / 0.4948 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0426/0.1789, allocations: 9.202 MB / 0.5038 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.179, allocations: 38.55 kB / 0.5038 GB, free: 6.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.645e-06/0.179, allocations: 8 kB / 0.5038 GB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.000757/0.1797, allocations: 0.5674 MB / 0.5044 GB, free: 5.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1798, allocations: 55.41 kB / 0.5044 GB, free: 5.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.1799, allocations: 101.8 kB / 0.5045 GB, free: 5.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1799, allocations: 25.7 kB / 0.5046 GB, free: 5.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.1799, allocations: 81.45 kB / 0.5046 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.1801, allocations: 210 kB / 0.5048 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.1802, allocations: 45.69 kB / 0.5049 GB, free: 5.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1803, allocations: 338.8 kB / 0.5052 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1805, allocations: 144.6 kB / 0.5053 GB, free: 4.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1806, allocations: 155.1 kB / 0.5055 GB, free: 4.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.181, allocations: 365.7 kB / 0.5058 GB, free: 4.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.181, allocations: 0 / 0.5058 GB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004295/0.1814, allocations: 387.8 kB / 0.5062 GB, free: 3.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1814, allocations: 9.562 kB / 0.5062 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1814, allocations: 3.938 kB / 0.5062 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1814, allocations: 0 / 0.5062 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-06/0.1814, allocations: 3.984 kB / 0.5062 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1814, allocations: 4 kB / 0.5062 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.1815, allocations: 23.73 kB / 0.5063 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1815, allocations: 7.938 kB / 0.5063 GB, free: 3.793 MB / 382.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.0001268/0.1817, allocations: 129.8 kB / 0.5064 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1817, allocations: 19.86 kB / 0.5064 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/0.1824, allocations: 0.727 MB / 0.5071 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.1824, allocations: 3.984 kB / 0.5071 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1824, allocations: 0 / 0.5071 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1824, allocations: 4 kB / 0.5071 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1827, allocations: 268.8 kB / 0.5074 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1827, allocations: 0 / 0.5074 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1827, allocations: 0 / 0.5074 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.1827, allocations: 4 kB / 0.5074 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1827, allocations: 3.938 kB / 0.5074 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1827, allocations: 4 kB / 0.5074 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1827, allocations: 0 / 0.5074 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1831, allocations: 353.4 kB / 0.5077 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1831, allocations: 23.83 kB / 0.5078 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1831, allocations: 7.891 kB / 0.5078 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.1832, allocations: 3.938 kB / 0.5078 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.1832, allocations: 4 kB / 0.5078 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1832, allocations: 0 / 0.5078 GB, free: 2.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.1833, allocations: 122.6 kB / 0.5079 GB, free: 2.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1833, allocations: 0 / 0.5079 GB, free: 2.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00178/0.1851, allocations: 0.7011 MB / 0.5086 GB, free: 1.305 MB / 382.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.00365/0.1887, allocations: 1.796 MB / 0.5103 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.1892, allocations: 283.5 kB / 0.5106 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1892, allocations: 0 / 0.5106 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1893, allocations: 112.4 kB / 0.5107 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.1905, allocations: 223.5 kB / 0.5109 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.1938, allocations: 2.688 MB / 0.5135 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1941, allocations: 0.7329 MB / 0.5143 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1942, allocations: 20.64 kB / 0.5143 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.1943, allocations: 47.42 kB / 0.5143 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1943, allocations: 0 / 0.5143 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2315/0.4258, allocations: 28.75 MB / 0.5424 GB, free: 61.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.95, allocations: 2.125 kB / 0.5424 GB, free: 61.3 MB / 398.1 MB " [Timeout remaining time 647] (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 sys.exit(0), Time elapsed: 15.57509533600387] Failed to read output from testmodel.py, exit status != 0: 13.077013909001835 13.0991027 12.960749855 Calling exit ...