Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005593/0.005593, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001252/0.001252, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.19/1.19, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.244/1.244, allocations: 251.7 MB / 0.5094 GB, free: 420 kB / 430.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.001262/0.001262, allocations: 71.91 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4526, allocations: 104.7 MB / 0.828 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002085/0.4547, allocations: 1.407 MB / 0.8294 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.4556, allocations: 0.5957 MB / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.4556, allocations: 0 / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.4556, allocations: 3.938 kB / 0.83 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.4557, allocations: 3.938 kB / 0.83 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.456, allocations: 99.55 kB / 0.8301 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.4561, allocations: 35.86 kB / 0.8301 GB, free: 468 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.4562, allocations: 4 kB / 0.8301 GB, free: 464 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.4562, allocations: 11.98 kB / 0.8301 GB, free: 452 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.4563, allocations: 11.94 kB / 0.8301 GB, free: 440 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.4563, allocations: 0 / 0.8301 GB, free: 440 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.4565, allocations: 143.8 kB / 0.8303 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.4565, allocations: 7.984 kB / 0.8303 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.4566, allocations: 11.94 kB / 0.8303 GB, free: 276 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.4567, allocations: 95.34 kB / 0.8304 GB, free: 184 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4568, allocations: 4 kB / 0.8304 GB, free: 180 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4568, allocations: 0 / 0.8304 GB, free: 180 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4568, allocations: 0 / 0.8304 GB, free: 180 kB / 0.6231 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.0004227/0.4572, allocations: 369.7 kB / 0.8307 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4572, allocations: 8.031 kB / 0.8308 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.4576, allocations: 28.81 kB / 0.8308 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.4577, allocations: 168.4 kB / 0.8309 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.4577, allocations: 384 / 0.8309 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.4578, allocations: 384 / 0.8309 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.458, allocations: 62.2 kB / 0.831 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.458, allocations: 8.109 kB / 0.831 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.458, allocations: 3.938 kB / 0.831 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.458, allocations: 0 / 0.831 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.4582, allocations: 55.94 kB / 0.8311 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.4586, allocations: 276.7 kB / 0.8313 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.4588, allocations: 66.47 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.459, allocations: 28.89 kB / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.459, allocations: 0 / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.459, allocations: 38.56 kB / 0.8315 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.459, allocations: 0 / 0.8315 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0004509/0.4595, allocations: 121.4 kB / 0.8316 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.4595, allocations: 51.41 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.4596, allocations: 97.86 kB / 0.8317 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.4596, allocations: 25.7 kB / 0.8317 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.4596, allocations: 92.25 kB / 0.8318 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4597, allocations: 3.906 kB / 0.8318 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.4597, allocations: 17.72 kB / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.4598, allocations: 318.8 kB / 0.8322 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4599, allocations: 19.98 kB / 0.8322 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.46, allocations: 31.97 kB / 0.8322 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.4602, allocations: 60.73 kB / 0.8323 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4602, allocations: 0 / 0.8323 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002597/0.4605, allocations: 97.58 kB / 0.8324 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4605, allocations: 4 kB / 0.8324 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4605, allocations: 3.984 kB / 0.8324 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4606, allocations: 4 kB / 0.8324 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4607, allocations: 11.98 kB / 0.8324 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.4607, allocations: 0 / 0.8324 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.4608, allocations: 11.92 kB / 0.8324 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4608, allocations: 32 / 0.8324 GB, free: 13.91 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.4608, allocations: 118.8 kB / 0.8325 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4609, allocations: 0 / 0.8325 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.4609, allocations: 11.08 kB / 0.8325 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4609, allocations: 3.984 kB / 0.8325 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4609, allocations: 7.938 kB / 0.8325 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4609, allocations: 192 / 0.8325 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.4611, allocations: 169.5 kB / 0.8327 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4611, allocations: 7.984 kB / 0.8327 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.4612, allocations: 11.98 kB / 0.8327 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4612, allocations: 0 / 0.8327 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4612, allocations: 7.984 kB / 0.8327 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4612, allocations: 0 / 0.8327 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4612, allocations: 3.938 kB / 0.8327 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.4615, allocations: 187.3 kB / 0.8329 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.4616, allocations: 77.11 kB / 0.833 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4616, allocations: 7.984 kB / 0.833 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4617, allocations: 4 kB / 0.833 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.4617, allocations: 7.984 kB / 0.833 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.4617, allocations: 0 / 0.833 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.4618, allocations: 83.31 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4618, allocations: 0 / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002156/0.462, allocations: 12 kB / 0.8331 GB, free: 13.11 MB / 0.6387 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001363/0.4621, allocations: 111.2 kB / 0.8332 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.4624, allocations: 67.88 kB / 0.8332 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4624, allocations: 0 / 0.8332 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4626, allocations: 31.95 kB / 0.8333 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.4628, allocations: 3.938 kB / 0.8333 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.4632, allocations: 130.8 kB / 0.8334 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.4634, allocations: 0.6805 MB / 0.8341 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.644e-05/0.4635, allocations: 8 kB / 0.8341 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.4635, allocations: 11.42 kB / 0.8341 GB, free: 12 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.4635, allocations: 4 kB / 0.8341 GB, free: 12 MB / 0.6387 GB Notification: Performance of Templates: time 0.002907/0.4664, allocations: 0.7832 MB / 0.8349 GB, free: 11.22 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)