Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009775, allocations: 105.5 kB / 16.29 MB, free: 6.027 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.0009162/0.0009162, allocations: 185.5 kB / 17.22 MB, free: 5.633 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.231/1.231, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.595/1.595, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001274/0.001274, allocations: 68.47 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1863, allocations: 114.6 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001954/0.1883, allocations: 1.264 MB / 0.7853 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4551/0.6434, allocations: 132 MB / 0.9142 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.6435, allocations: 0 / 0.9142 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.6436, allocations: 0 / 0.9142 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.6436, allocations: 9.078 kB / 0.9142 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.644, allocations: 59.95 kB / 0.9143 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.6441, allocations: 29.83 kB / 0.9143 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.6441, allocations: 1.688 kB / 0.9143 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.6442, allocations: 9.188 kB / 0.9143 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.6442, allocations: 15.92 kB / 0.9144 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.6443, allocations: 1.125 kB / 0.9144 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.6443, allocations: 10.56 kB / 0.9144 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.6443, allocations: 5.219 kB / 0.9144 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.6444, allocations: 11.98 kB / 0.9144 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.6445, allocations: 22.59 kB / 0.9144 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.6445, allocations: 5.5 kB / 0.9144 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6445, allocations: 0 / 0.9144 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6445, allocations: 0 / 0.9144 GB, free: 2.09 MB / 0.7012 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.0003647/0.6449, allocations: 335 kB / 0.9147 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.6449, allocations: 9.375 kB / 0.9147 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.645, allocations: 5.156 kB / 0.9147 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.6451, allocations: 161.7 kB / 0.9149 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.6451, allocations: 32.81 kB / 0.9149 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.6452, allocations: 1.688 kB / 0.9149 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.6453, allocations: 40.16 kB / 0.915 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6453, allocations: 4.688 kB / 0.915 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.6453, allocations: 13.64 kB / 0.915 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6453, allocations: 0.5 kB / 0.915 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.6454, allocations: 15.23 kB / 0.915 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.6455, allocations: 153.7 kB / 0.9151 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.066e-05/0.6456, allocations: 27.61 kB / 0.9152 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.6457, allocations: 17.72 kB / 0.9152 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.6458, allocations: 93.34 kB / 0.9153 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.6459, allocations: 35.31 kB / 0.9153 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.6459, allocations: 0 / 0.9153 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0002024/0.6461, allocations: 63.09 kB / 0.9154 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.6461, allocations: 52.91 kB / 0.9154 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.6462, allocations: 101.4 kB / 0.9155 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.6462, allocations: 25.7 kB / 0.9155 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.6462, allocations: 84.14 kB / 0.9156 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.6463, allocations: 10.16 kB / 0.9156 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.6463, allocations: 16.28 kB / 0.9156 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.6464, allocations: 316.1 kB / 0.916 GB, free: 384 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.6465, allocations: 3.781 kB / 0.916 GB, free: 384 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.6465, allocations: 8.859 kB / 0.916 GB, free: 380 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/0.6466, allocations: 27.52 kB / 0.916 GB, free: 360 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6466, allocations: 0 / 0.916 GB, free: 360 kB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001131/0.6467, allocations: 51.61 kB / 0.916 GB, free: 316 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6467, allocations: 9.812 kB / 0.916 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6467, allocations: 0 / 0.916 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.6467, allocations: 1.406 kB / 0.916 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.6468, allocations: 4.656 kB / 0.9161 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6468, allocations: 1.688 kB / 0.9161 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.6469, allocations: 5.562 kB / 0.9161 GB, free: 308 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.6469, allocations: 4.891 kB / 0.9161 GB, free: 304 kB / 0.7012 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 6.624e-05/0.6469, allocations: 112.2 kB / 0.9162 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.647, allocations: 5.375 kB / 0.9162 GB, free: 180 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.6471, allocations: 66.66 kB / 0.9162 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.6471, allocations: 1.469 kB / 0.9162 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.6471, allocations: 0 / 0.9162 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.6471, allocations: 1.438 kB / 0.9162 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.6472, allocations: 148.5 kB / 0.9164 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6472, allocations: 0 / 0.9164 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.6473, allocations: 9.516 kB / 0.9164 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.6473, allocations: 13.23 kB / 0.9164 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.6473, allocations: 5.125 kB / 0.9164 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6473, allocations: 1.938 kB / 0.9164 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6473, allocations: 1.625 kB / 0.9164 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.6475, allocations: 75.8 kB / 0.9165 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.6475, allocations: 78.64 kB / 0.9166 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.6475, allocations: 7.938 kB / 0.9166 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.6476, allocations: 1.312 kB / 0.9166 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.6476, allocations: 9.547 kB / 0.9166 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.6476, allocations: 1.219 kB / 0.9166 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.6476, allocations: 77.91 kB / 0.9167 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6476, allocations: 0 / 0.9167 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001748/0.6478, allocations: 13 kB / 0.9167 GB, free: 15.64 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 (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.0001311/0.648, allocations: 107.3 kB / 0.9168 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.6481, allocations: 25.39 kB / 0.9168 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.6481, allocations: 0 / 0.9168 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.6482, allocations: 16.11 kB / 0.9168 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.6484, allocations: 8.609 kB / 0.9168 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.6486, allocations: 120.5 kB / 0.9169 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.6489, allocations: 0.6848 MB / 0.9176 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.6489, allocations: 1.281 kB / 0.9176 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.6489, allocations: 12.06 kB / 0.9176 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6489, allocations: 0 / 0.9176 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of Templates: time 0.002291/0.6512, allocations: 0.5244 MB / 0.9181 GB, free: 14.47 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)