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.00176/0.00176, 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.002374/0.002374, allocations: 210.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.422/1.422, 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.05475/0.05475, allocations: 9.159 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.00254/0.00254, allocations: 68.44 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06448/0.06702, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02273/0.08974, allocations: 19.06 MB / 480.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009273/0.09901, allocations: 7.391 MB / 488.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.09923, allocations: 0 / 488.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1005, allocations: 494.7 kB / 488.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007644/0.1013, allocations: 278.5 kB / 489 MB, free: 1.418 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.01222/0.1135, allocations: 4.455 MB / 493.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.114, allocations: 362 kB / 493.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.1141, allocations: 8.594 kB / 493.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.1144, allocations: 163.3 kB / 494 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1146, allocations: 71.61 kB / 494.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1146, allocations: 4 kB / 494.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.1279, allocations: 7.494 MB / 0.4898 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.128, allocations: 11.88 kB / 0.4898 GB, free: 4.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1282, allocations: 99.5 kB / 0.4899 GB, free: 4.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007484/0.1357, allocations: 3.152 MB / 0.493 GB, free: 1.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1357, allocations: 3.938 kB / 0.493 GB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1357, allocations: 0 / 0.493 GB, free: 1.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1357, allocations: 0 / 0.493 GB, free: 1.578 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.001572/0.1373, allocations: 0.6897 MB / 0.4937 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1373, allocations: 19.98 kB / 0.4937 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.1374, allocations: 46.55 kB / 0.4937 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.1374, allocations: 23.84 kB / 0.4938 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1375, allocations: 136.9 kB / 0.4939 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1376, allocations: 3.938 kB / 0.4939 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-06/0.1376, allocations: 0 / 0.4939 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1378, allocations: 185.5 kB / 0.4941 GB, free: 416 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1378, allocations: 0 / 0.4941 GB, free: 416 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1378, allocations: 3.938 kB / 0.4941 GB, free: 412 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1378, allocations: 11.97 kB / 0.4941 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.138, allocations: 144.6 kB / 0.4942 GB, free: 256 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1383, allocations: 298.9 kB / 0.4945 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1385, allocations: 167.1 kB / 0.4947 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1387, allocations: 150.1 kB / 0.4948 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04331/0.182, allocations: 9.206 MB / 0.5038 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.182, allocations: 34.5 kB / 0.5038 GB, free: 6.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 1.914e-06/0.182, allocations: 0 / 0.5038 GB, free: 6.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007559/0.1828, allocations: 0.5752 MB / 0.5044 GB, free: 5.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1828, allocations: 51.41 kB / 0.5044 GB, free: 5.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1829, allocations: 105.8 kB / 0.5045 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1829, allocations: 25.7 kB / 0.5046 GB, free: 5.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.183, allocations: 81.45 kB / 0.5046 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.1832, allocations: 210.1 kB / 0.5048 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.1832, allocations: 45.69 kB / 0.5049 GB, free: 5.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1834, allocations: 334.8 kB / 0.5052 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1835, allocations: 144.6 kB / 0.5053 GB, free: 4.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1837, allocations: 143.2 kB / 0.5055 GB, free: 4.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.184, allocations: 373.7 kB / 0.5058 GB, free: 4.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.184, allocations: 4 kB / 0.5058 GB, free: 4.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004454/0.1845, allocations: 395.8 kB / 0.5062 GB, free: 3.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1845, allocations: 6.5 kB / 0.5062 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1845, allocations: 0 / 0.5062 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1845, allocations: 336 / 0.5062 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1845, allocations: 0 / 0.5062 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1845, allocations: 0 / 0.5062 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.1846, allocations: 23.73 kB / 0.5063 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1846, allocations: 7.938 kB / 0.5063 GB, free: 3.785 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.0001291/0.1848, allocations: 133.8 kB / 0.5064 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1848, allocations: 23.8 kB / 0.5064 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/0.1855, allocations: 0.7308 MB / 0.5071 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.1856, allocations: 3.984 kB / 0.5071 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1856, allocations: 4 kB / 0.5071 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1856, allocations: 0 / 0.5071 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.1859, allocations: 264.8 kB / 0.5074 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1859, allocations: 4 kB / 0.5074 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.1859, allocations: 0 / 0.5074 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1859, allocations: 4 kB / 0.5074 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1859, allocations: 3.938 kB / 0.5074 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1859, allocations: 0 / 0.5074 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1859, allocations: 0 / 0.5074 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.1863, allocations: 349.4 kB / 0.5077 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.1864, allocations: 23.84 kB / 0.5078 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1864, allocations: 11.89 kB / 0.5078 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.1864, allocations: 0 / 0.5078 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.1865, allocations: 7.984 kB / 0.5078 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.1865, allocations: 4 kB / 0.5078 GB, free: 2.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.1866, allocations: 115.2 kB / 0.5079 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1866, allocations: 0 / 0.5079 GB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001831/0.1884, allocations: 0.705 MB / 0.5086 GB, free: 1.285 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.003938/0.1923, allocations: 1.792 MB / 0.5103 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.1927, allocations: 279.5 kB / 0.5106 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1927, allocations: 0 / 0.5106 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1928, allocations: 124.3 kB / 0.5107 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.194, allocations: 227.5 kB / 0.5109 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.1975, allocations: 2.68 MB / 0.5135 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1979, allocations: 0.7408 MB / 0.5143 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.198, allocations: 12.44 kB / 0.5143 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.1981, allocations: 51.42 kB / 0.5143 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1981, allocations: 0 / 0.5143 GB, free: 11.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2508/0.4489, allocations: 28.74 MB / 0.5424 GB, free: 61.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.42, allocations: 8.844 kB / 0.5424 GB, free: 61.37 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 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: 14.962639143923298] Failed to read output from testmodel.py, exit status != 0: 12.547936123097315 12.565025681 12.425920259 Calling exit ...