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.001314/0.001314, allocations: 110.4 kB / 16.37 MB, free: 5.953 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.001327/0.001328, allocations: 190.2 kB / 17.31 MB, free: 5.574 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.72/1.72, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001373/0.001373, allocations: 72.11 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2198, allocations: 114.5 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002998/0.2228, allocations: 1.51 MB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5123/0.7351, allocations: 132.1 MB / 0.9152 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.7353, allocations: 0 / 0.9152 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.873e-05/0.7354, allocations: 3.938 kB / 0.9152 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/0.7355, allocations: 10.34 kB / 0.9152 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.7359, allocations: 61.06 kB / 0.9153 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.7361, allocations: 60.28 kB / 0.9154 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7362, allocations: 27.11 kB / 0.9154 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.7362, allocations: 19.27 kB / 0.9154 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.7363, allocations: 27.69 kB / 0.9154 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.7363, allocations: 3.406 kB / 0.9154 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 9.079e-05/0.7364, allocations: 15.5 kB / 0.9154 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.7365, allocations: 12.77 kB / 0.9155 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.7365, allocations: 22.3 kB / 0.9155 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.7367, allocations: 53.09 kB / 0.9155 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7367, allocations: 5.031 kB / 0.9155 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7367, allocations: 0 / 0.9155 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7367, allocations: 0 / 0.9155 GB, free: 1.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005756/0.7373, allocations: 375.6 kB / 0.9159 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7373, allocations: 9.594 kB / 0.9159 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.7374, allocations: 3.406 kB / 0.9159 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.7375, allocations: 178.8 kB / 0.9161 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.7376, allocations: 5.719 kB / 0.9161 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.7376, allocations: 3.438 kB / 0.9161 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.7379, allocations: 74.25 kB / 0.9162 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7379, allocations: 192 / 0.9162 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.7379, allocations: 3.938 kB / 0.9162 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7379, allocations: 1.125 kB / 0.9162 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.7382, allocations: 66.67 kB / 0.9162 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.7387, allocations: 294.6 kB / 0.9165 GB, free: 496 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.7389, allocations: 57.44 kB / 0.9166 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.7391, allocations: 35.23 kB / 0.9166 GB, free: 432 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.7393, allocations: 89.53 kB / 0.9167 GB, free: 332 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.7393, allocations: 35.88 kB / 0.9167 GB, free: 288 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.7393, allocations: 0 / 0.9167 GB, free: 288 kB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0005896/0.7399, allocations: 139.5 kB / 0.9168 GB, free: 200 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.74, allocations: 56.25 kB / 0.9169 GB, free: 132 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.7401, allocations: 116.7 kB / 0.917 GB, free: 20 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.7401, allocations: 26.83 kB / 0.917 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.7402, allocations: 90.41 kB / 0.9171 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.7402, allocations: 9.031 kB / 0.9171 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.7403, allocations: 13.03 kB / 0.9171 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7404, allocations: 320.1 kB / 0.9174 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.7406, allocations: 37.52 kB / 0.9175 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.7407, allocations: 29.38 kB / 0.9175 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.741, allocations: 73.16 kB / 0.9176 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.741, allocations: 1.031 kB / 0.9176 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003695/0.7414, allocations: 102.4 kB / 0.9177 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7414, allocations: 4.875 kB / 0.9177 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7415, allocations: 0 / 0.9177 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.7415, allocations: 5.109 kB / 0.9177 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.7416, allocations: 13.64 kB / 0.9177 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7416, allocations: 1.125 kB / 0.9177 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.002e-05/0.7417, allocations: 19.52 kB / 0.9177 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.7418, allocations: 0 / 0.9177 GB, free: 15.4 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 9.375e-05/0.7419, allocations: 116.4 kB / 0.9178 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.7419, allocations: 2.812 kB / 0.9178 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.7423, allocations: 117 kB / 0.9179 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7423, allocations: 5.172 kB / 0.9179 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7423, allocations: 4 kB / 0.918 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7423, allocations: 0.9688 kB / 0.918 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.7425, allocations: 169.8 kB / 0.9181 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7425, allocations: 1.219 kB / 0.9181 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.7427, allocations: 18.44 kB / 0.9181 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7427, allocations: 1.469 kB / 0.9181 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.7427, allocations: 0.6562 kB / 0.9181 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.7427, allocations: 0 / 0.9181 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.7427, allocations: 1.188 kB / 0.9181 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.7431, allocations: 205 kB / 0.9183 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.7431, allocations: 89.81 kB / 0.9184 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.7432, allocations: 1.219 kB / 0.9184 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.7433, allocations: 10.02 kB / 0.9184 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.7433, allocations: 7.594 kB / 0.9184 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.7433, allocations: 1.375 kB / 0.9184 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.7434, allocations: 96.94 kB / 0.9185 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7434, allocations: 0 / 0.9185 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002462/0.7437, allocations: 14.84 kB / 0.9185 GB, free: 14.6 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.0001638/0.7438, allocations: 105.3 kB / 0.9186 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.7442, allocations: 71.98 kB / 0.9187 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7442, allocations: 0 / 0.9187 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.7444, allocations: 40.33 kB / 0.9188 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.7447, allocations: 17.5 kB / 0.9188 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.7451, allocations: 181.2 kB / 0.9189 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.7453, allocations: 0.6854 MB / 0.9196 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.7454, allocations: 10.5 kB / 0.9196 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7454, allocations: 0 / 0.9196 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of Templates: time 0.002659/0.7481, allocations: 0.9302 MB / 0.9205 GB, free: 13.12 MB / 0.7169 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)