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/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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.759/1.759, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.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.0006906/0.000691, allocations: 19.28 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7084, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001998/0.7105, allocations: 1.132 MB / 0.7291 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004998/0.711, allocations: 188.5 kB / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.7111, allocations: 0 / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.7111, allocations: 0 / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.7112, allocations: 7.984 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.7114, allocations: 19.91 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.43e-05/0.7115, allocations: 23.91 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.7116, allocations: 0 / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.7117, allocations: 11.98 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.7118, allocations: 8 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.7118, allocations: 0 / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.7119, allocations: 35.91 kB / 0.7293 GB, free: 10 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.7119, allocations: 0 / 0.7293 GB, free: 10 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.712, allocations: 25.7 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.7121, allocations: 33.92 kB / 0.7294 GB, free: 9.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.7121, allocations: 0 / 0.7294 GB, free: 9.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.677e-06/0.7121, allocations: 0 / 0.7294 GB, free: 9.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.7121, allocations: 0 / 0.7294 GB, free: 9.941 MB / 0.545 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.0006131/0.7128, allocations: 342.4 kB / 0.7297 GB, free: 9.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.7128, allocations: 15.97 kB / 0.7297 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.713, allocations: 0 / 0.7297 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.7132, allocations: 174.9 kB / 0.7299 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.7132, allocations: 0 / 0.7299 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.7132, allocations: 0 / 0.7299 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.7135, allocations: 61.61 kB / 0.73 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.7135, allocations: 7.922 kB / 0.73 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.7135, allocations: 3.984 kB / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.7135, allocations: 4 kB / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.7137, allocations: 39.97 kB / 0.73 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.7142, allocations: 252.9 kB / 0.7303 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.7143, allocations: 38.56 kB / 0.7303 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.7143, allocations: 3.938 kB / 0.7303 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.7144, allocations: 34.56 kB / 0.7303 GB, free: 8.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7144, allocations: 4.062 kB / 0.7303 GB, free: 8.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003897/0.7148, allocations: 97.73 kB / 0.7304 GB, free: 8.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.7148, allocations: 51.41 kB / 0.7305 GB, free: 8.656 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.7149, allocations: 97.84 kB / 0.7306 GB, free: 8.551 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.7149, allocations: 25.7 kB / 0.7306 GB, free: 8.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.715, allocations: 88.14 kB / 0.7307 GB, free: 8.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.715, allocations: 7.844 kB / 0.7307 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.715, allocations: 0 / 0.7307 GB, free: 8.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002505/0.7153, allocations: 318.8 kB / 0.731 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.7154, allocations: 32 kB / 0.731 GB, free: 8.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.7155, allocations: 19.92 kB / 0.7311 GB, free: 8.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.7156, allocations: 24.05 kB / 0.7311 GB, free: 8.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7156, allocations: 4 kB / 0.7311 GB, free: 8.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.7158, allocations: 73.66 kB / 0.7311 GB, free: 7.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7158, allocations: 4 kB / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7158, allocations: 0 / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.7158, allocations: 0 / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.7159, allocations: 20.02 kB / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.716, allocations: 0 / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.716, allocations: 4 kB / 0.7312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.716, allocations: 0 / 0.7312 GB, free: 7.918 MB / 0.545 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.663e-05/0.7161, allocations: 121.8 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.7161, allocations: 3.906 kB / 0.7313 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.7164, allocations: 92.72 kB / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7164, allocations: 0 / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7164, allocations: 0 / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.7164, allocations: 0 / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.7166, allocations: 161.6 kB / 0.7315 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7166, allocations: 11.88 kB / 0.7315 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.7167, allocations: 15.98 kB / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7167, allocations: 0 / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.7167, allocations: 0 / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7167, allocations: 0 / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7167, allocations: 4 kB / 0.7316 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.717, allocations: 183.4 kB / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.717, allocations: 77.11 kB / 0.7318 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.717, allocations: 4 kB / 0.7318 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.7171, allocations: 7.984 kB / 0.7318 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.7172, allocations: 8.281 kB / 0.7318 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.7172, allocations: 7.984 kB / 0.7318 GB, free: 7.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.7172, allocations: 83.27 kB / 0.7319 GB, free: 7.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7172, allocations: 0 / 0.7319 GB, free: 7.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002122/0.7175, allocations: 4 kB / 0.7319 GB, free: 7.051 MB / 0.545 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.0001103/0.7176, allocations: 95.25 kB / 0.732 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.7178, allocations: 55.95 kB / 0.7321 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7178, allocations: 0 / 0.7321 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.7179, allocations: 23.92 kB / 0.7321 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.7181, allocations: 11.95 kB / 0.7321 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.7185, allocations: 136.6 kB / 0.7322 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.7187, allocations: 0.677 MB / 0.7329 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.7188, allocations: 0 / 0.7329 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.7188, allocations: 11.44 kB / 0.7329 GB, free: 5.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.375e-06/0.7188, allocations: 0 / 0.7329 GB, free: 5.98 MB / 0.545 GB Notification: Performance of Templates: time 0.002513/0.7213, allocations: 416.8 kB / 0.7333 GB, free: 5.586 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: