Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009411/0.0009436, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009261/0.0009261, allocations: 189.7 kB / 16.25 MB, free: 6.625 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.18/1.18, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 251.7 MB / 0.5089 GB, free: 3.324 MB / 414.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.001193/0.001193, allocations: 63.91 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.384, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002201/0.3862, allocations: 1.554 MB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1162/0.5024, allocations: 130.1 MB / 0.8526 GB, free: 8.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.5025, allocations: 4 kB / 0.8526 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.5026, allocations: 0 / 0.8526 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.5027, allocations: 7.938 kB / 0.8526 GB, free: 8.918 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.503, allocations: 61.73 kB / 0.8526 GB, free: 8.859 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.5031, allocations: 55.73 kB / 0.8527 GB, free: 8.805 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.5032, allocations: 15.98 kB / 0.8527 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.5032, allocations: 19.94 kB / 0.8527 GB, free: 8.77 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.5033, allocations: 27.91 kB / 0.8527 GB, free: 8.742 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.5033, allocations: 4 kB / 0.8527 GB, free: 8.738 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.5034, allocations: 19.98 kB / 0.8528 GB, free: 8.719 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.5034, allocations: 4 kB / 0.8528 GB, free: 8.715 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.5034, allocations: 23.86 kB / 0.8528 GB, free: 8.691 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.5036, allocations: 63.73 kB / 0.8529 GB, free: 8.629 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5036, allocations: 0 / 0.8529 GB, free: 8.629 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5036, allocations: 0 / 0.8529 GB, free: 8.629 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.5036, allocations: 0 / 0.8529 GB, free: 8.629 MB / 0.67 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.0004308/0.504, allocations: 371.4 kB / 0.8532 GB, free: 8.215 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.5041, allocations: 8.031 kB / 0.8532 GB, free: 8.207 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.5041, allocations: 8.844 kB / 0.8532 GB, free: 8.199 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.5042, allocations: 180.2 kB / 0.8534 GB, free: 7.984 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.5042, allocations: 4.375 kB / 0.8534 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.5042, allocations: 4.375 kB / 0.8534 GB, free: 7.977 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.5044, allocations: 70.22 kB / 0.8535 GB, free: 7.902 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.5045, allocations: 4.188 kB / 0.8535 GB, free: 7.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.5045, allocations: 3.938 kB / 0.8535 GB, free: 7.895 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5045, allocations: 0 / 0.8535 GB, free: 7.895 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.5047, allocations: 71.91 kB / 0.8535 GB, free: 7.824 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.505, allocations: 288.7 kB / 0.8538 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.5052, allocations: 58.53 kB / 0.8539 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5053, allocations: 36.92 kB / 0.8539 GB, free: 7.387 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.5055, allocations: 89.09 kB / 0.854 GB, free: 7.281 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.5055, allocations: 34.56 kB / 0.854 GB, free: 7.238 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5055, allocations: 0 / 0.854 GB, free: 7.238 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0004329/0.5059, allocations: 133.4 kB / 0.8542 GB, free: 7.102 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.506, allocations: 55.41 kB / 0.8542 GB, free: 7.035 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.506, allocations: 125.6 kB / 0.8543 GB, free: 6.902 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.5061, allocations: 25.7 kB / 0.8544 GB, free: 6.871 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.5061, allocations: 92.12 kB / 0.8544 GB, free: 6.777 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.5061, allocations: 15.75 kB / 0.8545 GB, free: 6.762 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.5062, allocations: 13.72 kB / 0.8545 GB, free: 6.742 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.5062, allocations: 326.7 kB / 0.8548 GB, free: 6.414 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.5064, allocations: 35.97 kB / 0.8548 GB, free: 6.379 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.5065, allocations: 31.95 kB / 0.8548 GB, free: 6.348 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.5067, allocations: 68.73 kB / 0.8549 GB, free: 6.277 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5067, allocations: 4 kB / 0.8549 GB, free: 6.273 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002621/0.507, allocations: 101.9 kB / 0.855 GB, free: 6.168 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.507, allocations: 4 kB / 0.855 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.507, allocations: 0 / 0.855 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.507, allocations: 0 / 0.855 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.5071, allocations: 15.98 kB / 0.855 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5071, allocations: 0 / 0.855 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.5072, allocations: 11.98 kB / 0.855 GB, free: 6.137 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.5072, allocations: 7.984 kB / 0.8551 GB, free: 6.129 MB / 0.67 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 5.85e-05/0.5073, allocations: 117.8 kB / 0.8552 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.5073, allocations: 7.891 kB / 0.8552 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.5076, allocations: 109.5 kB / 0.8553 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5076, allocations: 4 kB / 0.8553 GB, free: 5.875 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5076, allocations: 4 kB / 0.8553 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.5076, allocations: 0 / 0.8553 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.5078, allocations: 173.6 kB / 0.8555 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5078, allocations: 0 / 0.8555 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.5079, allocations: 15.98 kB / 0.8555 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5079, allocations: 0 / 0.8555 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.5079, allocations: 0 / 0.8555 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5079, allocations: 0 / 0.8555 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5079, allocations: 0 / 0.8555 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.5082, allocations: 207.2 kB / 0.8557 GB, free: 5.418 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.5082, allocations: 81.11 kB / 0.8557 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5083, allocations: 0 / 0.8557 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.5084, allocations: 15.92 kB / 0.8558 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.5084, allocations: 3.984 kB / 0.8558 GB, free: 5.301 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.5084, allocations: 8 kB / 0.8558 GB, free: 5.293 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.5084, allocations: 87.28 kB / 0.8559 GB, free: 5.207 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.5085, allocations: 3.938 kB / 0.8559 GB, free: 5.203 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000207/0.5087, allocations: 19.98 kB / 0.8559 GB, free: 5.184 MB / 0.67 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.0001039/0.5088, allocations: 103.2 kB / 0.856 GB, free: 5.074 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.5091, allocations: 71.91 kB / 0.856 GB, free: 5.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5091, allocations: 4 kB / 0.856 GB, free: 5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.5092, allocations: 35.91 kB / 0.8561 GB, free: 4.965 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.5094, allocations: 19.92 kB / 0.8561 GB, free: 4.945 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.5097, allocations: 179.6 kB / 0.8563 GB, free: 4.742 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.5099, allocations: 0.6846 MB / 0.8569 GB, free: 4.031 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.5099, allocations: 4 kB / 0.8569 GB, free: 4.027 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.51, allocations: 7.438 kB / 0.8569 GB, free: 4.02 MB / 0.67 GB Notification: Performance of SimCode: time 2.1e-07/0.51, allocations: 0 / 0.8569 GB, free: 4.02 MB / 0.67 GB Notification: Performance of Templates: time 0.00244/0.5124, allocations: 0.8939 MB / 0.8578 GB, free: 3.137 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)