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.001049/0.001049, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001355/0.001355, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.708/1.708, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.673/1.673, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005685/0.0005684, allocations: 17.34 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00171/0.2219, allocations: 1.214 MB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5834/0.8053, allocations: 128.5 MB / 0.9146 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.8054, allocations: 5.031 kB / 0.9146 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.8055, allocations: 3.703 kB / 0.9146 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.8055, allocations: 8.469 kB / 0.9146 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.8059, allocations: 63.44 kB / 0.9146 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.953e-05/0.806, allocations: 47.98 kB / 0.9147 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.8061, allocations: 16.95 kB / 0.9147 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.8062, allocations: 20.67 kB / 0.9147 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.8063, allocations: 31.34 kB / 0.9148 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.8063, allocations: 1.844 kB / 0.9148 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.8064, allocations: 11.84 kB / 0.9148 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.8064, allocations: 8.609 kB / 0.9148 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.8067, allocations: 43.8 kB / 0.9148 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.8069, allocations: 58.25 kB / 0.9149 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8069, allocations: 3.281 kB / 0.9149 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8069, allocations: 0 / 0.9149 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.8069, allocations: 0.875 kB / 0.9149 GB, free: 21.43 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.0005743/0.8075, allocations: 376.2 kB / 0.9152 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.8076, allocations: 9.156 kB / 0.9153 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.8076, allocations: 8 kB / 0.9153 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.8077, allocations: 174.1 kB / 0.9154 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.8078, allocations: 2.219 kB / 0.9154 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.8078, allocations: 3.812 kB / 0.9154 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.8081, allocations: 86.25 kB / 0.9155 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.8081, allocations: 1.344 kB / 0.9155 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.8081, allocations: 4.688 kB / 0.9155 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.8081, allocations: 2.797 kB / 0.9155 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.8085, allocations: 96.39 kB / 0.9156 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.809, allocations: 285.1 kB / 0.9159 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.8092, allocations: 67.72 kB / 0.9159 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.8094, allocations: 50.69 kB / 0.916 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.8096, allocations: 89.91 kB / 0.9161 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8096, allocations: 36.67 kB / 0.9161 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.8096, allocations: 0 / 0.9161 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0006542/0.8103, allocations: 166.3 kB / 0.9163 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.8103, allocations: 53.36 kB / 0.9163 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.8105, allocations: 118.2 kB / 0.9164 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.8105, allocations: 30.27 kB / 0.9165 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.8105, allocations: 88.55 kB / 0.9166 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.8106, allocations: 11.36 kB / 0.9166 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.8106, allocations: 14.47 kB / 0.9166 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.8107, allocations: 320.2 kB / 0.9169 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.8109, allocations: 43.53 kB / 0.9169 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.8111, allocations: 42.53 kB / 0.917 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.8114, allocations: 94.09 kB / 0.9171 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8114, allocations: 1 kB / 0.9171 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003795/0.8118, allocations: 121.2 kB / 0.9172 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8118, allocations: 5.859 kB / 0.9172 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8118, allocations: 5.031 kB / 0.9172 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8119, allocations: 2 kB / 0.9172 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.812, allocations: 20.31 kB / 0.9172 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.812, allocations: 1.641 kB / 0.9172 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.8121, allocations: 21.48 kB / 0.9172 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.8121, allocations: 4.938 kB / 0.9172 GB, free: 19.65 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.456e-05/0.8122, allocations: 115.8 kB / 0.9173 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.8123, allocations: 9.688 kB / 0.9174 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.8127, allocations: 128.7 kB / 0.9175 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8127, allocations: 3.75 kB / 0.9175 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8127, allocations: 0 / 0.9175 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8127, allocations: 0.6562 kB / 0.9175 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.8129, allocations: 176.2 kB / 0.9176 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8129, allocations: 0 / 0.9176 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.813, allocations: 24.94 kB / 0.9177 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.813, allocations: 3.656 kB / 0.9177 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.813, allocations: 0.9688 kB / 0.9177 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.813, allocations: 2.734 kB / 0.9177 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8131, allocations: 1.031 kB / 0.9177 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.8135, allocations: 221.1 kB / 0.9179 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.8135, allocations: 84.05 kB / 0.918 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.8135, allocations: 5.75 kB / 0.918 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.8137, allocations: 15.84 kB / 0.918 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.8137, allocations: 4.109 kB / 0.918 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.8137, allocations: 0.8438 kB / 0.918 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.8138, allocations: 100.4 kB / 0.9181 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8138, allocations: 0 / 0.9181 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002429/0.8141, allocations: 16.81 kB / 0.9181 GB, free: 18.97 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.0001457/0.8142, allocations: 109.5 kB / 0.9182 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.8146, allocations: 89.64 kB / 0.9183 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8146, allocations: 0 / 0.9183 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.8148, allocations: 50.58 kB / 0.9183 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.8152, allocations: 16.44 kB / 0.9184 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.8155, allocations: 182.7 kB / 0.9185 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.8158, allocations: 0.6825 MB / 0.9192 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.8158, allocations: 7.5 kB / 0.9192 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.8159, allocations: 9.781 kB / 0.9192 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.8159, allocations: 0.5625 kB / 0.9192 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.004066/0.8199, allocations: 0.8412 MB / 0.92 GB, free: 17.96 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: