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.001656/0.001656, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00155/0.00155, allocations: 221.3 kB / 23.03 MB, free: 4.941 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.35/1.35, allocations: 207.7 MB / 233.9 MB, free: 9.777 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.04929/0.04929, allocations: 9.151 MB / 295.3 MB, free: 12.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="cs",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.002116/0.002116, allocations: 71.25 kB / 411.8 MB, free: 46.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08371/0.08583, allocations: 50.75 MB / 462.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02233/0.1082, allocations: 17.15 MB / 479.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007389/0.1155, allocations: 6.578 MB / 486.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1157, allocations: 4 kB / 486.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.1167, allocations: 390.9 kB / 486.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005829/0.1172, allocations: 262.5 kB / 486.9 MB, free: 4.059 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.01061/0.1279, allocations: 4.421 MB / 491.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.1284, allocations: 361.9 kB / 491.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.1284, allocations: 8.594 kB / 491.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.1287, allocations: 171.3 kB / 491.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1288, allocations: 79.56 kB / 492 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1288, allocations: 0 / 492 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009326/0.1382, allocations: 4.998 MB / 497 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.1382, allocations: 11.88 kB / 497 MB, free: 10 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.1384, allocations: 71.69 kB / 497.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005888/0.1443, allocations: 2.61 MB / 499.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1443, allocations: 0 / 499.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1443, allocations: 4 kB / 499.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1443, allocations: 0 / 499.7 MB, free: 7.312 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.001741/0.1461, allocations: 0.6935 MB / 0.4886 GB, free: 6.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.1461, allocations: 11.98 kB / 0.4886 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.937e-05/0.1461, allocations: 4 kB / 0.4887 GB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.1462, allocations: 54.55 kB / 0.4887 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1462, allocations: 15.86 kB / 0.4887 GB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.1464, allocations: 132.9 kB / 0.4888 GB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1464, allocations: 0 / 0.4888 GB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1465, allocations: 0 / 0.4888 GB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1467, allocations: 181.5 kB / 0.489 GB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1467, allocations: 4 kB / 0.489 GB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1467, allocations: 0 / 0.489 GB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.1468, allocations: 15.97 kB / 0.489 GB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1469, allocations: 148.5 kB / 0.4892 GB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1473, allocations: 294.9 kB / 0.4895 GB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1475, allocations: 163.2 kB / 0.4896 GB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1476, allocations: 158.1 kB / 0.4898 GB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04231/0.1899, allocations: 9.229 MB / 0.4988 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.19, allocations: 30.56 kB / 0.4988 GB, free: 12.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 3.416e-06/0.19, allocations: 4 kB / 0.4988 GB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.0008457/0.1908, allocations: 0.5751 MB / 0.4994 GB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1909, allocations: 55.41 kB / 0.4994 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.191, allocations: 101.8 kB / 0.4995 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.191, allocations: 25.7 kB / 0.4995 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1911, allocations: 85.39 kB / 0.4996 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.1913, allocations: 214 kB / 0.4998 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.1913, allocations: 41.69 kB / 0.4999 GB, free: 10.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1915, allocations: 342.7 kB / 0.5002 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1916, allocations: 140.6 kB / 0.5003 GB, free: 10.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1918, allocations: 151.2 kB / 0.5005 GB, free: 10.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.1921, allocations: 365.8 kB / 0.5008 GB, free: 9.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1921, allocations: 0 / 0.5008 GB, free: 9.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004464/0.1926, allocations: 395.8 kB / 0.5012 GB, free: 9.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1926, allocations: 4 kB / 0.5012 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1926, allocations: 3.984 kB / 0.5012 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1926, allocations: 4 kB / 0.5012 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1926, allocations: 0 / 0.5012 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1926, allocations: 0 / 0.5012 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.1927, allocations: 31.61 kB / 0.5012 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1927, allocations: 4 kB / 0.5013 GB, free: 9.484 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.0001206/0.1929, allocations: 124.2 kB / 0.5014 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1929, allocations: 19.86 kB / 0.5014 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007474/0.1936, allocations: 0.7308 MB / 0.5021 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.1937, allocations: 4 kB / 0.5021 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1937, allocations: 8 kB / 0.5021 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1937, allocations: 3.938 kB / 0.5021 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1939, allocations: 256.9 kB / 0.5024 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1939, allocations: 4 kB / 0.5024 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.1939, allocations: 0 / 0.5024 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1939, allocations: 3.938 kB / 0.5024 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.194, allocations: 4 kB / 0.5024 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.194, allocations: 0 / 0.5024 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.194, allocations: 0 / 0.5024 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1943, allocations: 349.9 kB / 0.5027 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.1944, allocations: 15.84 kB / 0.5027 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.1944, allocations: 19.89 kB / 0.5027 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.1945, allocations: 3.984 kB / 0.5027 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.1945, allocations: 11.91 kB / 0.5028 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1945, allocations: 7.938 kB / 0.5028 GB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.859e-05/0.1946, allocations: 110.7 kB / 0.5029 GB, free: 7.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1946, allocations: 0 / 0.5029 GB, free: 7.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002146/0.1968, allocations: 0.7011 MB / 0.5036 GB, free: 7 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.004263/0.201, allocations: 1.803 MB / 0.5053 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.2014, allocations: 275.5 kB / 0.5056 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2014, allocations: 0 / 0.5056 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2016, allocations: 124.4 kB / 0.5057 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.2027, allocations: 223.4 kB / 0.5059 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.2063, allocations: 2.68 MB / 0.5085 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.2064, allocations: 129.3 kB / 0.5087 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.2066, allocations: 12.66 kB / 0.5087 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.2066, allocations: 47.42 kB / 0.5087 GB, free: 1.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2066, allocations: 0 / 0.5087 GB, free: 1.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.249/0.4556, allocations: 29.49 MB / 0.5375 GB, free: 57.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.13, allocations: 11.12 kB / 0.5375 GB, free: 57.41 MB / 398.1 MB " [Timeout remaining time 648] (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.651187264011241] Failed to read output from testmodel.py, exit status != 0: 12.303492598002777 12.314844381 12.168147139 Calling exit ...