Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001645/0.001645, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.371/1.371, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.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.726/1.726, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.002412/0.002412, allocations: 68.22 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2774, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002543/0.28, allocations: 1.556 MB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.4159, allocations: 130.1 MB / 0.9121 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.416, allocations: 0 / 0.9121 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.4161, allocations: 7.938 kB / 0.9121 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.4161, allocations: 11.91 kB / 0.9121 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.4165, allocations: 64.02 kB / 0.9121 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.4166, allocations: 47.86 kB / 0.9122 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.4167, allocations: 19.92 kB / 0.9122 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.4168, allocations: 19.92 kB / 0.9122 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.4168, allocations: 27.91 kB / 0.9123 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.4169, allocations: 4 kB / 0.9123 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.4169, allocations: 23.92 kB / 0.9123 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.417, allocations: 7.938 kB / 0.9123 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.417, allocations: 27.86 kB / 0.9123 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.4171, allocations: 31.95 kB / 0.9123 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4171, allocations: 0 / 0.9123 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4171, allocations: 8 kB / 0.9124 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4171, allocations: 0 / 0.9124 GB, free: 9.473 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005195/0.4177, allocations: 371.2 kB / 0.9127 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4177, allocations: 12.03 kB / 0.9127 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.4178, allocations: 8.938 kB / 0.9127 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.4179, allocations: 172.2 kB / 0.9129 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4179, allocations: 8.375 kB / 0.9129 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.4179, allocations: 4.359 kB / 0.9129 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.4182, allocations: 82.14 kB / 0.913 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4182, allocations: 192 / 0.913 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4182, allocations: 3.938 kB / 0.913 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4182, allocations: 4 kB / 0.913 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.4185, allocations: 71.91 kB / 0.9131 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.4189, allocations: 284.7 kB / 0.9133 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.4191, allocations: 62.47 kB / 0.9134 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.4192, allocations: 36.92 kB / 0.9134 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.4194, allocations: 93.09 kB / 0.9135 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.4194, allocations: 30.56 kB / 0.9135 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4194, allocations: 0 / 0.9135 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005003/0.4199, allocations: 133.6 kB / 0.9137 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.42, allocations: 51.41 kB / 0.9137 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.4201, allocations: 117.8 kB / 0.9138 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4201, allocations: 29.7 kB / 0.9139 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.4201, allocations: 91.98 kB / 0.9139 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.4202, allocations: 15.83 kB / 0.914 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.4202, allocations: 13.72 kB / 0.914 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4203, allocations: 326.8 kB / 0.9143 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4205, allocations: 31.95 kB / 0.9143 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.4206, allocations: 27.97 kB / 0.9143 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.4208, allocations: 72.78 kB / 0.9144 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4209, allocations: 0 / 0.9144 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002897/0.4211, allocations: 97.53 kB / 0.9145 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4212, allocations: 8 kB / 0.9145 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4212, allocations: 0 / 0.9145 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.4212, allocations: 3.938 kB / 0.9145 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4213, allocations: 19.97 kB / 0.9145 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4213, allocations: 4 kB / 0.9145 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.4214, allocations: 7.984 kB / 0.9145 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4214, allocations: 4 kB / 0.9146 GB, free: 6.973 MB / 0.7325 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 7.647e-05/0.4215, allocations: 113.8 kB / 0.9147 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.4215, allocations: 4 kB / 0.9147 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.4219, allocations: 109.5 kB / 0.9148 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4219, allocations: 0 / 0.9148 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4219, allocations: 3.984 kB / 0.9148 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4219, allocations: 0 / 0.9148 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.4221, allocations: 177.6 kB / 0.9149 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4221, allocations: 0 / 0.9149 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.4222, allocations: 27.84 kB / 0.915 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4222, allocations: 0 / 0.915 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.4222, allocations: 0 / 0.915 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.4222, allocations: 8 kB / 0.915 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4222, allocations: 0 / 0.915 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.4226, allocations: 199.8 kB / 0.9152 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.4227, allocations: 85 kB / 0.9152 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4227, allocations: 4 kB / 0.9153 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4228, allocations: 11.98 kB / 0.9153 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.4228, allocations: 4 kB / 0.9153 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.4229, allocations: 0 / 0.9153 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.4229, allocations: 99.64 kB / 0.9154 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4229, allocations: 0 / 0.9154 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002375/0.4232, allocations: 19.94 kB / 0.9154 GB, free: 6.016 MB / 0.7325 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 (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.0002136/0.4234, allocations: 111.2 kB / 0.9155 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.4237, allocations: 71.92 kB / 0.9156 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4238, allocations: 0 / 0.9156 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.4239, allocations: 35.95 kB / 0.9156 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.4243, allocations: 16.27 kB / 0.9156 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.4247, allocations: 197.3 kB / 0.9158 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4251, allocations: 0.6846 MB / 0.9165 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.4252, allocations: 11.44 kB / 0.9165 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.4252, allocations: 0 / 0.9165 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of Templates: time 0.002628/0.4278, allocations: 0.9494 MB / 0.9174 GB, free: 3.887 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)