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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 112.8 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 195.7 kB / 19.41 MB, free: 3.676 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.387/1.387, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.0519/0.0519, allocations: 9.14 MB / 290.8 MB, free: 13.94 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 74.33 kB / 405.8 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07025/0.07241, allocations: 50.72 MB / 456.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02232/0.09474, allocations: 19 MB / 475.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008122/0.1029, allocations: 7.399 MB / 482.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.103, allocations: 4 kB / 482.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1041, allocations: 490.7 kB / 483.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.1048, allocations: 278.5 kB / 483.7 MB, free: 2.98 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.01053/0.1153, allocations: 4.396 MB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.1158, allocations: 362 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.1158, allocations: 8.312 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.1161, allocations: 159.3 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1163, allocations: 75.61 kB / 488.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1163, allocations: 4 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01271/0.129, allocations: 7.178 MB / 495.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.129, allocations: 11.86 kB / 495.9 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.1293, allocations: 107.5 kB / 496 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007676/0.1369, allocations: 3.137 MB / 499.1 MB, free: 3.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1369, allocations: 4 kB / 499.1 MB, free: 3.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1369, allocations: 0 / 499.1 MB, free: 3.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.137, allocations: 0 / 499.1 MB, free: 3.527 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.001447/0.1384, allocations: 0.7689 MB / 499.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1384, allocations: 8.031 kB / 499.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.1385, allocations: 54.53 kB / 499.9 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1385, allocations: 19.86 kB / 500 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1387, allocations: 182.8 kB / 0.4884 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1387, allocations: 15.81 kB / 0.4884 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.1387, allocations: 4 kB / 0.4884 GB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1389, allocations: 169 kB / 0.4886 GB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.139, allocations: 0 / 0.4886 GB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.139, allocations: 4 kB / 0.4886 GB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.139, allocations: 7.984 kB / 0.4886 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1391, allocations: 136.5 kB / 0.4887 GB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1394, allocations: 307.7 kB / 0.489 GB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1396, allocations: 155 kB / 0.4892 GB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1398, allocations: 137.9 kB / 0.4893 GB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05282/0.1926, allocations: 28.59 MB / 0.5172 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/0.1926, allocations: 34.56 kB / 0.5173 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.354e-06/0.1926, allocations: 0 / 0.5173 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007457/0.1934, allocations: 0.53 MB / 0.5178 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.1934, allocations: 55.41 kB / 0.5178 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.1935, allocations: 105.8 kB / 0.5179 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1936, allocations: 25.7 kB / 0.5179 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1936, allocations: 81.45 kB / 0.518 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1938, allocations: 210.1 kB / 0.5182 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.1938, allocations: 45.69 kB / 0.5183 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.194, allocations: 334.8 kB / 0.5186 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1941, allocations: 128.5 kB / 0.5187 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1942, allocations: 138.7 kB / 0.5188 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.1946, allocations: 336.2 kB / 0.5192 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1946, allocations: 0 / 0.5192 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004057/0.195, allocations: 366.1 kB / 0.5195 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.195, allocations: 8 kB / 0.5195 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.195, allocations: 0 / 0.5195 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.195, allocations: 4.266 kB / 0.5195 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.195, allocations: 0 / 0.5195 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.195, allocations: 0 / 0.5195 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.1951, allocations: 23.73 kB / 0.5195 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1951, allocations: 11.94 kB / 0.5196 GB, free: 13.55 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.0001135/0.1952, allocations: 132.2 kB / 0.5197 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1952, allocations: 19.86 kB / 0.5197 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007017/0.1959, allocations: 0.7034 MB / 0.5204 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.196, allocations: 7.984 kB / 0.5204 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.196, allocations: 0 / 0.5204 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.196, allocations: 0 / 0.5204 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.1963, allocations: 289.7 kB / 0.5207 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1963, allocations: 4 kB / 0.5207 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1963, allocations: 0 / 0.5207 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1963, allocations: 0 / 0.5207 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.1963, allocations: 7.875 kB / 0.5207 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1963, allocations: 4 kB / 0.5207 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1963, allocations: 0 / 0.5207 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.1967, allocations: 325.5 kB / 0.521 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/0.1968, allocations: 96.94 kB / 0.5211 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1968, allocations: 15.89 kB / 0.5211 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.1969, allocations: 4 kB / 0.5211 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.1969, allocations: 0 / 0.5211 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1969, allocations: 4 kB / 0.5211 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.197, allocations: 123.7 kB / 0.5212 GB, free: 11.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.197, allocations: 0 / 0.5212 GB, free: 11.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001804/0.1988, allocations: 0.7011 MB / 0.5219 GB, free: 10.99 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.003229/0.202, allocations: 1.779 MB / 0.5237 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.2023, allocations: 259.4 kB / 0.5239 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2023, allocations: 0 / 0.5239 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2025, allocations: 108.3 kB / 0.524 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.2036, allocations: 223.5 kB / 0.5242 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.2066, allocations: 2.586 MB / 0.5267 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.207, allocations: 0.7367 MB / 0.5275 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2071, allocations: 16.66 kB / 0.5275 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.2072, allocations: 51.42 kB / 0.5275 GB, free: 5.102 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2072, allocations: 4 kB / 0.5275 GB, free: 5.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2317/0.4389, allocations: 28.34 MB / 0.5552 GB, free: 75.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.115/9.553, allocations: 3.938 kB / 0.5552 GB, free: 75.64 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 & /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 os._exit(0), Time elapsed: 11.973224853631109] Failed to read output from testmodel.py, exit status != 0: 9.63590926071629 9.645134837 9.505980908 Calling exit ...