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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 196.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04553/0.04553, allocations: 9.1 MB / 278.9 MB, free: 12.16 MB / 238.1 MB 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.001401/0.001401, allocations: 63.91 kB / 338.1 MB, free: 25.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1012, allocations: 48.15 MB / 386.3 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.0256/0.1268, allocations: 18.96 MB / 405.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008456/0.1353, allocations: 7.364 MB / 412.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1356, allocations: 4 kB / 412.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1369, allocations: 442.9 kB / 413 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006944/0.1376, allocations: 254.4 kB / 413.3 MB, free: 14.01 MB / 318.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.01115/0.1488, allocations: 4.192 MB / 417.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.1493, allocations: 366 kB / 417.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.1494, allocations: 24.3 kB / 417.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.1496, allocations: 155.2 kB / 418 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1498, allocations: 83.59 kB / 418.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1498, allocations: 0 / 418.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.1605, allocations: 6.761 MB / 424.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.1605, allocations: 11.88 kB / 424.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.1607, allocations: 95.56 kB / 425 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2025/0.3632, allocations: 3.135 MB / 428.1 MB, free: 23.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3633, allocations: 1.75 kB / 428.1 MB, free: 23.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3633, allocations: 1.562 kB / 428.1 MB, free: 23.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3633, allocations: 0 / 428.1 MB, free: 23.8 MB / 318.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.001439/0.3648, allocations: 0.7512 MB / 428.9 MB, free: 23.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3648, allocations: 12.31 kB / 428.9 MB, free: 23.26 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3649, allocations: 54.75 kB / 428.9 MB, free: 23.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.3649, allocations: 19.11 kB / 428.9 MB, free: 23.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.365, allocations: 179.3 kB / 429.1 MB, free: 23.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.365, allocations: 6.188 kB / 429.1 MB, free: 23.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.3651, allocations: 1.188 kB / 429.1 MB, free: 23.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3653, allocations: 168.2 kB / 429.3 MB, free: 22.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3653, allocations: 0 / 429.3 MB, free: 22.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.3653, allocations: 1.188 kB / 429.3 MB, free: 22.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3653, allocations: 10.94 kB / 429.3 MB, free: 22.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3655, allocations: 131.8 kB / 429.4 MB, free: 22.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.3657, allocations: 309.8 kB / 429.7 MB, free: 22.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3659, allocations: 202.6 kB / 429.9 MB, free: 22.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3661, allocations: 190.2 kB / 430.1 MB, free: 22.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04606/0.4121, allocations: 28.59 MB / 458.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.4122, allocations: 39.52 kB / 458.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.575e-06/0.4123, allocations: 0 / 458.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007881/0.413, allocations: 0.5344 MB / 459.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4131, allocations: 57.16 kB / 459.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.4132, allocations: 104.8 kB / 459.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.4132, allocations: 25.7 kB / 459.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.4133, allocations: 81.45 kB / 459.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.4134, allocations: 199.4 kB / 459.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.4135, allocations: 50.48 kB / 459.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4136, allocations: 327.2 kB / 460.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4138, allocations: 134.2 kB / 460.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4139, allocations: 134.8 kB / 460.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.4142, allocations: 340.1 kB / 460.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4142, allocations: 0 / 460.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003483/0.4145, allocations: 361.1 kB / 461 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4146, allocations: 5.188 kB / 461.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4146, allocations: 1.281 kB / 461.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4146, allocations: 4 kB / 461.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.4146, allocations: 1.281 kB / 461.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4146, allocations: 3.938 kB / 461.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.4148, allocations: 22.17 kB / 461.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.4148, allocations: 1.719 kB / 461.1 MB, free: 13.18 MB / 334.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.0001229/0.4149, allocations: 129.2 kB / 461.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.4149, allocations: 20.91 kB / 461.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.4156, allocations: 0.709 MB / 461.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4156, allocations: 4.625 kB / 461.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4156, allocations: 3.938 kB / 462 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4156, allocations: 10.12 kB / 462 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.4158, allocations: 289.2 kB / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4158, allocations: 1.344 kB / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.4159, allocations: 0 / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4159, allocations: 0 / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.4159, allocations: 2.297 kB / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4159, allocations: 0 / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4159, allocations: 8.188 kB / 462.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.4162, allocations: 312.5 kB / 462.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.4163, allocations: 104.1 kB / 462.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.4163, allocations: 10.38 kB / 462.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.4164, allocations: 0 / 462.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.4164, allocations: 8.891 kB / 462.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4164, allocations: 1.344 kB / 462.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.4165, allocations: 115.1 kB / 462.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4165, allocations: 0 / 462.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002211/0.4187, allocations: 0.6877 MB / 463.5 MB, free: 12.22 MB / 334.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.0029/0.4216, allocations: 1.777 MB / 465.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.4219, allocations: 303.9 kB / 465.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4219, allocations: 0 / 465.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.422, allocations: 139.4 kB / 465.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4231, allocations: 245.7 kB / 465.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.4255, allocations: 2.535 MB / 468.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4258, allocations: 0.7331 MB / 469.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.4259, allocations: 16.09 kB / 469.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.426, allocations: 46.58 kB / 469.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.426, allocations: 6.469 kB / 469.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/0.4812, allocations: 28.41 MB / 497.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.462, allocations: 0 / 497.7 MB, free: 15.9 MB / 366.1 MB (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 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)