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.00146/0.00146, allocations: 102.5 kB / 16.36 MB, free: 6.473 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.001607/0.001607, allocations: 189.7 kB / 17.3 MB, free: 5.824 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.418/1.418, 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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001467/0.001467, allocations: 64.47 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2209, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002577/0.2236, allocations: 1.492 MB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5092/0.7328, allocations: 132.1 MB / 0.9152 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.7329, allocations: 0 / 0.9152 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.877e-05/0.733, allocations: 3.938 kB / 0.9152 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.03e-05/0.7331, allocations: 13.33 kB / 0.9152 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.7335, allocations: 64.91 kB / 0.9153 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.906e-05/0.7337, allocations: 57.09 kB / 0.9153 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.7338, allocations: 18.72 kB / 0.9154 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.7338, allocations: 15.72 kB / 0.9154 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.7339, allocations: 31.59 kB / 0.9154 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.7339, allocations: 4.344 kB / 0.9154 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.734, allocations: 17.92 kB / 0.9154 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.734, allocations: 9.172 kB / 0.9154 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.7341, allocations: 26.45 kB / 0.9155 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.7342, allocations: 61.81 kB / 0.9155 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7342, allocations: 0 / 0.9155 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7342, allocations: 1.562 kB / 0.9155 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7343, allocations: 0 / 0.9155 GB, free: 1.594 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.0005102/0.7348, allocations: 373.9 kB / 0.9159 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7348, allocations: 10.34 kB / 0.9159 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.7349, allocations: 3.844 kB / 0.9159 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.735, allocations: 178.7 kB / 0.9161 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.735, allocations: 5.531 kB / 0.9161 GB, free: 1 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.735, allocations: 6.641 kB / 0.9161 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.7353, allocations: 71.06 kB / 0.9161 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.7353, allocations: 192 / 0.9161 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7353, allocations: 3.938 kB / 0.9161 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.7353, allocations: 1.438 kB / 0.9161 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.7356, allocations: 76.89 kB / 0.9162 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.736, allocations: 280.4 kB / 0.9165 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.7362, allocations: 57.34 kB / 0.9165 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.7363, allocations: 39.7 kB / 0.9166 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.7365, allocations: 89.19 kB / 0.9167 GB, free: 444 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.7365, allocations: 35.69 kB / 0.9167 GB, free: 400 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.7365, allocations: 0 / 0.9167 GB, free: 400 kB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0005277/0.7371, allocations: 134.8 kB / 0.9168 GB, free: 316 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.7371, allocations: 57.81 kB / 0.9169 GB, free: 248 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.7372, allocations: 111.8 kB / 0.917 GB, free: 140 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.7372, allocations: 25.7 kB / 0.917 GB, free: 108 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.7373, allocations: 94.25 kB / 0.9171 GB, free: 12 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.7373, allocations: 9.875 kB / 0.9171 GB, free: 4 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.7374, allocations: 11.81 kB / 0.9171 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.7375, allocations: 329.3 kB / 0.9174 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.7376, allocations: 28.69 kB / 0.9175 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.7377, allocations: 33.98 kB / 0.9175 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.738, allocations: 72.05 kB / 0.9176 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.738, allocations: 0 / 0.9176 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002914/0.7383, allocations: 103.4 kB / 0.9177 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.7383, allocations: 4.812 kB / 0.9177 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.7383, allocations: 1.125 kB / 0.9177 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7384, allocations: 1.25 kB / 0.9177 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.7385, allocations: 18.61 kB / 0.9177 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.7385, allocations: 0 / 0.9177 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.7386, allocations: 15.11 kB / 0.9177 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.7386, allocations: 1.219 kB / 0.9177 GB, free: 15.51 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 7.758e-05/0.7387, allocations: 116.2 kB / 0.9178 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.7387, allocations: 10.33 kB / 0.9178 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.7391, allocations: 113.3 kB / 0.9179 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7391, allocations: 384 / 0.9179 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7391, allocations: 2.625 kB / 0.9179 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7391, allocations: 0 / 0.9179 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.7393, allocations: 175.2 kB / 0.9181 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7393, allocations: 1.5 kB / 0.9181 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.7394, allocations: 18.72 kB / 0.9181 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7394, allocations: 0 / 0.9181 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.7394, allocations: 4 kB / 0.9181 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.7394, allocations: 1.188 kB / 0.9181 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7394, allocations: 0 / 0.9181 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.7398, allocations: 201 kB / 0.9183 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.7398, allocations: 84.05 kB / 0.9184 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.7398, allocations: 5.188 kB / 0.9184 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.7399, allocations: 11.55 kB / 0.9184 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.74, allocations: 10.73 kB / 0.9184 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.74, allocations: 1.281 kB / 0.9184 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.7401, allocations: 91.66 kB / 0.9185 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7401, allocations: 0 / 0.9185 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002372/0.7403, allocations: 19.86 kB / 0.9185 GB, free: 14.71 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.0001744/0.7405, allocations: 113.3 kB / 0.9186 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.7409, allocations: 70.92 kB / 0.9187 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7409, allocations: 0 / 0.9187 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.741, allocations: 32.97 kB / 0.9187 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.7413, allocations: 21.39 kB / 0.9188 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.7417, allocations: 146.9 kB / 0.9189 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.7419, allocations: 0.6839 MB / 0.9196 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.742, allocations: 3.938 kB / 0.9196 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.742, allocations: 9.625 kB / 0.9196 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.742, allocations: 4 kB / 0.9196 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of Templates: time 0.003246/0.7453, allocations: 0.9956 MB / 0.9206 GB, free: 13.25 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)