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.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 187.6 kB / 316.3 MB, free: 3.234 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.609/1.609, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008406/0.0008403, allocations: 98.81 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.821e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.19, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6964/0.8865, allocations: 132.4 MB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.8867, allocations: 71.83 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00291/0.8897, allocations: 0.9731 MB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8897, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8897, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 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.0003792/0.8901, allocations: 344.8 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8901, allocations: 8.031 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.8902, allocations: 7.984 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.8904, allocations: 167 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.8904, allocations: 4 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.8904, allocations: 4 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.472e-05/0.8905, allocations: 7.438 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.495e-05/0.8906, allocations: 39.75 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.8906, allocations: 0 / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.8906, allocations: 0 / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.8906, allocations: 0 / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.891, allocations: 230.5 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.088e-05/0.891, allocations: 33.45 kB / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.8911, allocations: 8.922 kB / 1.016 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.8911, allocations: 48 / 1.016 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.8911, allocations: 37.8 kB / 1.016 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.8911, allocations: 2.625 kB / 1.016 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.8913, allocations: 36.95 kB / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.8913, allocations: 55.44 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.8914, allocations: 89 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.8914, allocations: 29.7 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.8915, allocations: 91.31 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.8915, allocations: 3.906 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.8915, allocations: 3.938 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8917, allocations: 318.3 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.8917, allocations: 4 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.8917, allocations: 4 kB / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.8917, allocations: 6.5 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8917, allocations: 4 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.22e-05/0.8918, allocations: 41.25 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.8918, allocations: 4 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.8918, allocations: 0 / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.8919, allocations: 0 / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/0.892, allocations: 15.98 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.892, allocations: 0 / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.892, allocations: 8.031 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.892, allocations: 0 / 1.017 GB, free: 2.395 MB / 0.6355 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 () * 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 6.801e-05/0.8921, allocations: 108.9 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.431e-05/0.8922, allocations: 44.81 kB / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.8922, allocations: 3.906 kB / 1.017 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.8924, allocations: 59.53 kB / 1.017 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.8924, allocations: 8.062 kB / 1.017 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8924, allocations: 0 / 1.017 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8924, allocations: 3.984 kB / 1.017 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.8925, allocations: 139.8 kB / 1.017 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8925, allocations: 4 kB / 1.017 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.8926, allocations: 11.98 kB / 1.017 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8926, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8927, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8927, allocations: 10.06 kB / 1.017 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.8927, allocations: 4 kB / 1.017 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.8928, allocations: 145.1 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.8929, allocations: 77.11 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.8929, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.893, allocations: 11.98 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.893, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.893, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.8931, allocations: 86.66 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8931, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002086/0.8933, allocations: 4 kB / 1.018 GB, free: 1.625 MB / 0.6355 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 () * 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.0004175/0.8937, allocations: 0.6868 MB / 1.018 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.844e-05/0.8938, allocations: 11.38 kB / 1.018 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8938, allocations: 4.062 kB / 1.018 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.8938, allocations: 7.75 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.894, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.8944, allocations: 91.66 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.8946, allocations: 0.6768 MB / 1.019 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.8947, allocations: 15.92 kB / 1.019 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.8947, allocations: 11.38 kB / 1.019 GB, free: 48 kB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.8947, allocations: 0 / 1.019 GB, free: 48 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.9128, allocations: 0.77 MB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.913, allocations: 164.7 kB / 1.02 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/2.338, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.6511 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)