Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 178.5 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.5775 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 92.23 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 12.12 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 106.3 MB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.42, allocations: 132.1 MB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.4204, allocations: 75.95 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002898/0.4233, allocations: 0.9761 MB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4233, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.4233, allocations: 4 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003871/0.4237, allocations: 343.2 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4238, allocations: 12.03 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.4238, allocations: 38.56 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.4239, allocations: 4 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.4241, allocations: 167 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.4241, allocations: 3.938 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.4241, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4243, allocations: 53.67 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.4243, allocations: 0 / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4243, allocations: 4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4243, allocations: 4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.4245, allocations: 39.97 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.4248, allocations: 260.8 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.425, allocations: 46.5 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.425, allocations: 0 / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.425, allocations: 34.62 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.425, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003493/0.4254, allocations: 97.64 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.4254, allocations: 51.41 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.4255, allocations: 101 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.4255, allocations: 29.7 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.4256, allocations: 84.14 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.4256, allocations: 3.906 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.4256, allocations: 0 / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4258, allocations: 318.8 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.4258, allocations: 23.97 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.4259, allocations: 23.98 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.426, allocations: 19.98 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.426, allocations: 7.875 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.4262, allocations: 77.72 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4263, allocations: 4 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4263, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4263, allocations: 4 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.4264, allocations: 11.98 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.06e-05/0.4265, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.4265, allocations: 11.97 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4266, allocations: 8 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/0.4266, allocations: 113.8 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.4267, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.4269, allocations: 92.69 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4269, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.427, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.427, allocations: 4.219 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4271, allocations: 157.6 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4272, allocations: 0 / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.4272, allocations: 15.98 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4273, allocations: 7.984 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4273, allocations: 4 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4273, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4273, allocations: 3.938 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.4275, allocations: 179.5 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.4276, allocations: 77.11 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4276, allocations: 11.98 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.4277, allocations: 4 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.4278, allocations: 7.984 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.4278, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.4278, allocations: 79.28 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4278, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001973/0.428, allocations: 8 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005876/0.4286, allocations: 0.7209 MB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.4288, allocations: 43.97 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4289, allocations: 0 / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.429, allocations: 36.03 kB / 1.034 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.4292, allocations: 3.938 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.4297, allocations: 166.1 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.43, allocations: 0.6848 MB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.4301, allocations: 7.938 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.4301, allocations: 11.44 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4301, allocations: 0 / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.4416, allocations: 1.082 MB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.4419, allocations: 210.3 kB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.058, allocations: 0 / 1.036 GB, free: 4.98 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)