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.001359/0.001359, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001426/0.001426, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.42/1.42, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.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.05154/0.05154, allocations: 9.153 MB / 291.5 MB, free: 7.176 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.002164/0.002164, allocations: 82.22 kB / 406.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2679, allocations: 50.71 MB / 457.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02309/0.291, allocations: 19.01 MB / 476.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.3012, allocations: 7.396 MB / 483.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.3015, allocations: 4 kB / 483.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.303, allocations: 494.7 kB / 484.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008754/0.3039, allocations: 274.5 kB / 484.4 MB, free: 12.67 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.01476/0.3187, allocations: 4.391 MB / 488.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006118/0.3193, allocations: 365.9 kB / 489.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.3193, allocations: 12.31 kB / 489.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.3197, allocations: 163.3 kB / 489.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3198, allocations: 71.62 kB / 489.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3198, allocations: 4 kB / 489.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/0.3333, allocations: 7.182 MB / 496.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.3333, allocations: 11.88 kB / 496.6 MB, free: 464 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.3336, allocations: 99.48 kB / 496.7 MB, free: 364 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006546/0.3401, allocations: 3.137 MB / 499.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3401, allocations: 0 / 499.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3401, allocations: 0 / 499.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.3401, allocations: 0 / 499.9 MB, free: 13.21 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.3416, allocations: 0.7766 MB / 0.4889 GB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3416, allocations: 8.031 kB / 0.4889 GB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.047e-05/0.3416, allocations: 7.984 kB / 0.4889 GB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.3417, allocations: 46.55 kB / 0.489 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3417, allocations: 19.86 kB / 0.489 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3419, allocations: 186.8 kB / 0.4892 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.3419, allocations: 4 kB / 0.4892 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.3419, allocations: 0 / 0.4892 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3422, allocations: 180.9 kB / 0.4893 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3422, allocations: 0 / 0.4893 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.3422, allocations: 0 / 0.4893 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.3422, allocations: 15.95 kB / 0.4893 GB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3423, allocations: 128.5 kB / 0.4895 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.3427, allocations: 315.7 kB / 0.4898 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3429, allocations: 155 kB / 0.4899 GB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.343, allocations: 134 kB / 0.49 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05112/0.3941, allocations: 28.6 MB / 0.518 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3942, allocations: 30.56 kB / 0.518 GB, free: 9.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=64): time 1.724e-06/0.3942, allocations: 0 / 0.518 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007797/0.3949, allocations: 0.5378 MB / 0.5185 GB, free: 9.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.395, allocations: 55.39 kB / 0.5186 GB, free: 9.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.3951, allocations: 97.86 kB / 0.5187 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3951, allocations: 25.7 kB / 0.5187 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.3951, allocations: 81.45 kB / 0.5188 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3953, allocations: 202.1 kB / 0.519 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.3954, allocations: 49.69 kB / 0.519 GB, free: 8.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3955, allocations: 338.7 kB / 0.5193 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3957, allocations: 136.5 kB / 0.5195 GB, free: 8.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3958, allocations: 130.7 kB / 0.5196 GB, free: 7.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.3961, allocations: 336.2 kB / 0.5199 GB, free: 7.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3961, allocations: 0 / 0.5199 GB, free: 7.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003832/0.3965, allocations: 366.1 kB / 0.5203 GB, free: 7.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3965, allocations: 4 kB / 0.5203 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3965, allocations: 4 kB / 0.5203 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3965, allocations: 0 / 0.5203 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3965, allocations: 0 / 0.5203 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3966, allocations: 0 / 0.5203 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.3966, allocations: 31.67 kB / 0.5203 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3966, allocations: 3.938 kB / 0.5203 GB, free: 7.223 MB / 398.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.0001157/0.3967, allocations: 133.8 kB / 0.5204 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3968, allocations: 15.86 kB / 0.5204 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.3975, allocations: 0.7072 MB / 0.5211 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.3975, allocations: 7.984 kB / 0.5211 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3975, allocations: 4.359 kB / 0.5211 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3975, allocations: 3.938 kB / 0.5212 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3978, allocations: 285.8 kB / 0.5214 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3978, allocations: 0 / 0.5214 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3978, allocations: 0 / 0.5214 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3978, allocations: 3.984 kB / 0.5214 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3978, allocations: 7.922 kB / 0.5214 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3978, allocations: 4 kB / 0.5214 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3978, allocations: 0 / 0.5214 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.3981, allocations: 325.4 kB / 0.5218 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.3982, allocations: 101 kB / 0.5218 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.3982, allocations: 15.88 kB / 0.5219 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.3983, allocations: 0 / 0.5219 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.3983, allocations: 0 / 0.5219 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3983, allocations: 7.938 kB / 0.5219 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.26e-05/0.3984, allocations: 118.5 kB / 0.522 GB, free: 5.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3984, allocations: 0 / 0.522 GB, free: 5.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001755/0.4002, allocations: 0.6933 MB / 0.5227 GB, free: 4.652 MB / 398.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.003136/0.4033, allocations: 1.783 MB / 0.5244 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4036, allocations: 255.4 kB / 0.5246 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4036, allocations: 0 / 0.5246 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4037, allocations: 108.4 kB / 0.5247 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4049, allocations: 231.4 kB / 0.525 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.4076, allocations: 2.578 MB / 0.5275 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.408, allocations: 0.7367 MB / 0.5282 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.174e-05/0.4081, allocations: 16.66 kB / 0.5282 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.4081, allocations: 47.42 kB / 0.5283 GB, free: 14.77 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4081, allocations: 0 / 0.5283 GB, free: 14.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/0.4664, allocations: 28.39 MB / 0.556 GB, free: 2.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/9.154, allocations: 12.05 kB / 0.556 GB, free: 2.355 MB / 430.1 MB " [Timeout remaining time 651] (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.564586648950353] Failed to read output from testmodel.py, exit status != 0: 9.289281402947381 9.302196335 8.959233756 Calling exit ...