Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001754/0.001754, allocations: 193.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 61.98 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3619, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002808/0.3647, allocations: 1.547 MB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.155/0.5197, allocations: 129.9 MB / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.5198, allocations: 0 / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.5199, allocations: 0 / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.52, allocations: 11.86 kB / 1.196 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.5204, allocations: 63.78 kB / 1.196 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.5205, allocations: 55.78 kB / 1.196 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.5206, allocations: 16.22 kB / 1.196 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.5207, allocations: 19.92 kB / 1.196 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.5207, allocations: 23.92 kB / 1.196 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.5208, allocations: 4 kB / 1.196 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.5209, allocations: 11.98 kB / 1.196 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.5209, allocations: 11.92 kB / 1.196 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.5209, allocations: 23.92 kB / 1.196 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.5211, allocations: 51.81 kB / 1.196 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5211, allocations: 0 / 1.196 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5211, allocations: 0 / 1.196 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5211, allocations: 4 kB / 1.196 GB, free: 6.664 MB / 0.9512 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.000553/0.5217, allocations: 375.2 kB / 1.197 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5217, allocations: 12.03 kB / 1.197 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.5218, allocations: 0.9375 kB / 1.197 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.5219, allocations: 172.2 kB / 1.197 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.5219, allocations: 384 / 1.197 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.522, allocations: 4.375 kB / 1.197 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.5223, allocations: 86.19 kB / 1.197 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5223, allocations: 192 / 1.197 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5223, allocations: 3.938 kB / 1.197 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5223, allocations: 0 / 1.197 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.5226, allocations: 75.8 kB / 1.197 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.523, allocations: 288.7 kB / 1.197 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.5232, allocations: 46.55 kB / 1.197 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.5234, allocations: 40.91 kB / 1.197 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.5236, allocations: 93.09 kB / 1.197 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.5236, allocations: 38.5 kB / 1.197 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.5236, allocations: 0 / 1.197 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005621/0.5242, allocations: 125.6 kB / 1.197 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5242, allocations: 59.39 kB / 1.198 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.5243, allocations: 125.6 kB / 1.198 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.5244, allocations: 25.7 kB / 1.198 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.5244, allocations: 95.98 kB / 1.198 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.5244, allocations: 3.906 kB / 1.198 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.5245, allocations: 21.7 kB / 1.198 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5246, allocations: 314.8 kB / 1.198 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.5248, allocations: 39.95 kB / 1.198 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.5249, allocations: 27.97 kB / 1.198 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.5252, allocations: 77 kB / 1.198 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5252, allocations: 0 / 1.198 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003162/0.5255, allocations: 101.6 kB / 1.198 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5255, allocations: 4 kB / 1.198 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5256, allocations: 4 kB / 1.198 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5256, allocations: 0 / 1.198 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5257, allocations: 15.97 kB / 1.198 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5257, allocations: 0 / 1.198 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.5258, allocations: 23.89 kB / 1.198 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.5258, allocations: 4 kB / 1.198 GB, free: 4.16 MB / 0.9512 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 8.079e-05/0.5259, allocations: 111.5 kB / 1.198 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.5259, allocations: 7.938 kB / 1.199 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.5263, allocations: 105.5 kB / 1.199 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5263, allocations: 4 kB / 1.199 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5264, allocations: 0 / 1.199 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5264, allocations: 0 / 1.199 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.5266, allocations: 173.6 kB / 1.199 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5266, allocations: 0 / 1.199 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.5267, allocations: 15.98 kB / 1.199 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.5267, allocations: 0 / 1.199 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.5267, allocations: 0 / 1.199 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5267, allocations: 3.984 kB / 1.199 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5267, allocations: 0 / 1.199 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.5271, allocations: 207.3 kB / 1.199 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.5272, allocations: 77.11 kB / 1.199 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.5272, allocations: 3.938 kB / 1.199 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5273, allocations: 15.97 kB / 1.199 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.5274, allocations: 12 kB / 1.199 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.5274, allocations: 3.938 kB / 1.199 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.5275, allocations: 91.27 kB / 1.199 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5275, allocations: 0 / 1.199 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002348/0.5277, allocations: 19.84 kB / 1.199 GB, free: 3.219 MB / 0.9512 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.0001713/0.5279, allocations: 107.2 kB / 1.199 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.5282, allocations: 75.86 kB / 1.199 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5282, allocations: 0 / 1.199 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.5284, allocations: 39.95 kB / 1.199 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.5288, allocations: 9.906 kB / 1.199 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.5292, allocations: 169.6 kB / 1.2 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.5295, allocations: 0.6809 MB / 1.2 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.81e-05/0.5296, allocations: 7.984 kB / 1.2 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.5296, allocations: 7.438 kB / 1.2 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.5296, allocations: 4 kB / 1.2 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of Templates: time 0.003407/0.533, allocations: 0.8604 MB / 1.201 GB, free: 1.215 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)