Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 117.4 kB / 16.38 MB, free: 6.012 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.001532, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.532/1.532, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.941/1.941, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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.001476/0.001476, allocations: 71.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2619, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002895/0.2648, allocations: 1.291 MB / 0.7861 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7226/0.9875, allocations: 147.6 MB / 0.9302 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.9876, allocations: 1.375 kB / 0.9302 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.9877, allocations: 0 / 0.9302 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.9878, allocations: 9.297 kB / 0.9302 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.9884, allocations: 116.2 kB / 0.9304 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.9885, allocations: 25.5 kB / 0.9304 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.9886, allocations: 1.375 kB / 0.9304 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.9886, allocations: 8.062 kB / 0.9304 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.9887, allocations: 8.109 kB / 0.9304 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.9887, allocations: 0 / 0.9304 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.9892, allocations: 178 kB / 0.9306 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.9892, allocations: 3.938 kB / 0.9306 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.9893, allocations: 9.047 kB / 0.9306 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.9896, allocations: 107.4 kB / 0.9307 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9896, allocations: 0 / 0.9307 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9896, allocations: 4 kB / 0.9307 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.9896, allocations: 0.5625 kB / 0.9307 GB, free: 4.691 MB / 0.7169 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.000413/0.99, allocations: 354.7 kB / 0.931 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.9901, allocations: 8.969 kB / 0.931 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.9909, allocations: 37.27 kB / 0.9311 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.9911, allocations: 165.8 kB / 0.9312 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.9911, allocations: 11.94 kB / 0.9312 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.9912, allocations: 3.094 kB / 0.9312 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.9914, allocations: 48.53 kB / 0.9313 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9914, allocations: 3.938 kB / 0.9313 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9914, allocations: 0 / 0.9313 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9914, allocations: 0 / 0.9313 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.9915, allocations: 19.98 kB / 0.9313 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.9919, allocations: 253.3 kB / 0.9315 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.992, allocations: 26.56 kB / 0.9316 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.992, allocations: 8.922 kB / 0.9316 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.9921, allocations: 0 / 0.9316 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.9921, allocations: 38.56 kB / 0.9316 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9921, allocations: 0 / 0.9316 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.9923, allocations: 45.55 kB / 0.9317 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.9923, allocations: 55.39 kB / 0.9317 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.9925, allocations: 110 kB / 0.9318 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.9925, allocations: 29.7 kB / 0.9318 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.9926, allocations: 84.08 kB / 0.9319 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.9927, allocations: 5.875 kB / 0.9319 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.9927, allocations: 25.83 kB / 0.932 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.9929, allocations: 322.8 kB / 0.9323 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.993, allocations: 6.438 kB / 0.9323 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.9931, allocations: 16.02 kB / 0.9323 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.9933, allocations: 20.84 kB / 0.9323 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9933, allocations: 0 / 0.9323 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002075/0.9935, allocations: 65.61 kB / 0.9324 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9935, allocations: 4.781 kB / 0.9324 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9935, allocations: 0 / 0.9324 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.9935, allocations: 0 / 0.9324 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.9937, allocations: 11.98 kB / 0.9324 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9937, allocations: 0 / 0.9324 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.9938, allocations: 11.98 kB / 0.9324 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.9938, allocations: 7.938 kB / 0.9324 GB, free: 2.762 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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 8.179e-05/0.9939, allocations: 109.8 kB / 0.9325 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.994, allocations: 7.891 kB / 0.9325 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.994, allocations: 7.125 kB / 0.9325 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.994, allocations: 0 / 0.9325 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.994, allocations: 0 / 0.9325 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.994, allocations: 0 / 0.9325 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.9942, allocations: 166.6 kB / 0.9327 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9942, allocations: 4 kB / 0.9327 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.9943, allocations: 4 kB / 0.9327 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9943, allocations: 0 / 0.9327 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.9943, allocations: 1 kB / 0.9327 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9943, allocations: 0 / 0.9327 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9943, allocations: 3.938 kB / 0.9327 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.9944, allocations: 135.5 kB / 0.9328 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.9945, allocations: 81.11 kB / 0.9329 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.9945, allocations: 4.031 kB / 0.9329 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.9946, allocations: 3.984 kB / 0.9329 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.9946, allocations: 5.688 kB / 0.9329 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.9946, allocations: 1.25 kB / 0.9329 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.128e-05/0.9947, allocations: 95.2 kB / 0.933 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9947, allocations: 0 / 0.933 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002525/0.995, allocations: 16 kB / 0.933 GB, free: 2.043 MB / 0.7169 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.0002098/0.9952, allocations: 115.2 kB / 0.9331 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.9954, allocations: 19.92 kB / 0.9331 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.9954, allocations: 0 / 0.9331 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.9954, allocations: 8 kB / 0.9332 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.9957, allocations: 7.984 kB / 0.9332 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.9961, allocations: 155.8 kB / 0.9333 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.9963, allocations: 0.6768 MB / 0.934 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.9964, allocations: 7.438 kB / 0.934 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.9964, allocations: 0 / 0.934 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.002438/0.9988, allocations: 0.8135 MB / 0.9348 GB, free: 204 kB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)