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.001358/0.001359, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001385, allocations: 187.6 kB / 16.62 MB, free: 6.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.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.689/1.689, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001423/0.001423, allocations: 76.81 kB / 0.6722 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2148, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002502/0.2174, allocations: 1.491 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5177/0.7351, allocations: 132.1 MB / 0.9145 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.7352, allocations: 1 kB / 0.9145 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.7353, allocations: 3.609 kB / 0.9145 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.7353, allocations: 15.39 kB / 0.9146 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.7357, allocations: 64.62 kB / 0.9146 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.7358, allocations: 54.97 kB / 0.9147 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.7359, allocations: 21.02 kB / 0.9147 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.736, allocations: 19.31 kB / 0.9147 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.7361, allocations: 26.16 kB / 0.9147 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.7361, allocations: 4.031 kB / 0.9147 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.7362, allocations: 19.84 kB / 0.9148 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.7362, allocations: 13.23 kB / 0.9148 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.7363, allocations: 22.42 kB / 0.9148 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.7364, allocations: 56.41 kB / 0.9148 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7364, allocations: 1.547 kB / 0.9148 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7364, allocations: 4 kB / 0.9149 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.7364, allocations: 0 / 0.9149 GB, free: 5.781 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006814/0.7371, allocations: 372.6 kB / 0.9152 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7372, allocations: 9.891 kB / 0.9152 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.7372, allocations: 7.75 kB / 0.9152 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.7373, allocations: 177.1 kB / 0.9154 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.7374, allocations: 2.156 kB / 0.9154 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.7374, allocations: 2.094 kB / 0.9154 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.7376, allocations: 77.3 kB / 0.9155 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7376, allocations: 192 / 0.9155 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7377, allocations: 8.781 kB / 0.9155 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.7377, allocations: 1.156 kB / 0.9155 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.738, allocations: 65.86 kB / 0.9155 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.7383, allocations: 290.3 kB / 0.9158 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.7385, allocations: 55.66 kB / 0.9159 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.7387, allocations: 37.36 kB / 0.9159 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.7389, allocations: 93.52 kB / 0.916 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.7389, allocations: 40.27 kB / 0.916 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.7389, allocations: 0.8438 kB / 0.916 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005424/0.7395, allocations: 128.1 kB / 0.9162 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.7395, allocations: 52.11 kB / 0.9162 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.7396, allocations: 117.6 kB / 0.9163 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.7396, allocations: 25.7 kB / 0.9163 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.7397, allocations: 95.88 kB / 0.9164 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.7397, allocations: 5.469 kB / 0.9164 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.7397, allocations: 23.61 kB / 0.9165 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7399, allocations: 318.7 kB / 0.9168 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.74, allocations: 38.55 kB / 0.9168 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.7402, allocations: 31.06 kB / 0.9168 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.7404, allocations: 71.12 kB / 0.9169 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7405, allocations: 1.203 kB / 0.9169 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003305/0.7408, allocations: 101.2 kB / 0.917 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7408, allocations: 5.094 kB / 0.917 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7408, allocations: 1.344 kB / 0.917 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7408, allocations: 1.125 kB / 0.917 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.741, allocations: 14.67 kB / 0.917 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.741, allocations: 0.9375 kB / 0.917 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.7411, allocations: 23.66 kB / 0.917 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.7411, allocations: 4.656 kB / 0.917 GB, free: 20.02 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.861e-05/0.7412, allocations: 113 kB / 0.9172 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.7412, allocations: 3.031 kB / 0.9172 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.7416, allocations: 116.5 kB / 0.9173 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7416, allocations: 2.75 kB / 0.9173 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7416, allocations: 0.6094 kB / 0.9173 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.7416, allocations: 0.7812 kB / 0.9173 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.7418, allocations: 172.1 kB / 0.9174 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.7418, allocations: 0 / 0.9174 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.7419, allocations: 16.33 kB / 0.9175 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7419, allocations: 0.9062 kB / 0.9175 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.7419, allocations: 0.8125 kB / 0.9175 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7419, allocations: 0.7969 kB / 0.9175 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7419, allocations: 5.859 kB / 0.9175 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.7423, allocations: 201.8 kB / 0.9177 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.7423, allocations: 79.27 kB / 0.9177 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.7423, allocations: 1.906 kB / 0.9177 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.7425, allocations: 18.08 kB / 0.9177 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.7425, allocations: 4.25 kB / 0.9178 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.7425, allocations: 2.594 kB / 0.9178 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.7426, allocations: 94.41 kB / 0.9178 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7426, allocations: 1.094 kB / 0.9178 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002374/0.7428, allocations: 24.36 kB / 0.9179 GB, free: 19.35 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.0001378/0.743, allocations: 107.4 kB / 0.918 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.7433, allocations: 73.25 kB / 0.918 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7433, allocations: 0.8438 kB / 0.918 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.7435, allocations: 38.59 kB / 0.9181 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.7438, allocations: 16.62 kB / 0.9181 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.7441, allocations: 165.9 kB / 0.9183 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.7443, allocations: 0.6831 MB / 0.9189 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.7444, allocations: 7 kB / 0.9189 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.7444, allocations: 9.844 kB / 0.9189 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7444, allocations: 0 / 0.9189 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.003177/0.7476, allocations: 0.997 MB / 0.9199 GB, free: 18.35 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)