Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004498/0.004498, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001164/0.001165, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.207/1.207, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.261/1.261, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001501/0.001501, allocations: 63.91 kB / 0.7258 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5052, allocations: 104.7 MB / 0.828 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002344/0.5076, allocations: 1.264 MB / 0.8293 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.5089, allocations: 0.8293 MB / 0.8301 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.5089, allocations: 3.938 kB / 0.8301 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.509, allocations: 4 kB / 0.8301 GB, free: 480 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.509, allocations: 7.922 kB / 0.8301 GB, free: 472 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.5096, allocations: 123.5 kB / 0.8302 GB, free: 348 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.243e-05/0.5096, allocations: 31.8 kB / 0.8302 GB, free: 316 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.5097, allocations: 3.984 kB / 0.8302 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.5097, allocations: 11.98 kB / 0.8303 GB, free: 300 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.5098, allocations: 15.92 kB / 0.8303 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.5098, allocations: 0 / 0.8303 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.5101, allocations: 167.8 kB / 0.8304 GB, free: 116 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.5102, allocations: 3.984 kB / 0.8304 GB, free: 112 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.5102, allocations: 11.94 kB / 0.8304 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.5104, allocations: 125.6 kB / 0.8306 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.5105, allocations: 0 / 0.8306 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5105, allocations: 0 / 0.8306 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5105, allocations: 0 / 0.8306 GB, free: 15.98 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004477/0.5109, allocations: 359.4 kB / 0.8309 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.511, allocations: 8.031 kB / 0.8309 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.511, allocations: 12.84 kB / 0.8309 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.5111, allocations: 164.3 kB / 0.8311 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.5112, allocations: 34.25 kB / 0.8311 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.5112, allocations: 384 / 0.8311 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.5114, allocations: 46.25 kB / 0.8312 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5114, allocations: 3.938 kB / 0.8312 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5114, allocations: 3.938 kB / 0.8312 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5114, allocations: 4 kB / 0.8312 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.943e-05/0.5115, allocations: 19.98 kB / 0.8312 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.5117, allocations: 153.7 kB / 0.8313 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.5119, allocations: 46.61 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.512, allocations: 20.94 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.5123, allocations: 178.2 kB / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5123, allocations: 34.56 kB / 0.8316 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.5123, allocations: 0 / 0.8316 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0002501/0.5125, allocations: 77.48 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5126, allocations: 51.41 kB / 0.8317 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.5127, allocations: 98.05 kB / 0.8318 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5127, allocations: 25.7 kB / 0.8319 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.5128, allocations: 84.14 kB / 0.8319 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.5128, allocations: 15.8 kB / 0.8319 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.5128, allocations: 17.72 kB / 0.832 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5129, allocations: 314.8 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.513, allocations: 11.98 kB / 0.8323 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.513, allocations: 8.188 kB / 0.8323 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.5131, allocations: 36.86 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5131, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.5133, allocations: 65.67 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5133, allocations: 7.938 kB / 0.8324 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5133, allocations: 0 / 0.8324 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5133, allocations: 0 / 0.8324 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.5134, allocations: 8 kB / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5134, allocations: 0 / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.5134, allocations: 7.906 kB / 0.8324 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.5135, allocations: 4 kB / 0.8324 GB, free: 13.83 MB / 0.6387 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 (4): * Single equations (assignments): 4 * 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.2e-05/0.5135, allocations: 114.9 kB / 0.8325 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.5136, allocations: 7.938 kB / 0.8325 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.5138, allocations: 69.09 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5138, allocations: 0 / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5138, allocations: 0 / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.5138, allocations: 4 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.5139, allocations: 157.6 kB / 0.8327 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5139, allocations: 0 / 0.8327 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.514, allocations: 12 kB / 0.8328 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.514, allocations: 7.938 kB / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.514, allocations: 3.984 kB / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.514, allocations: 0 / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.514, allocations: 0 / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.5142, allocations: 81.06 kB / 0.8328 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.5142, allocations: 89 kB / 0.8329 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5143, allocations: 3.938 kB / 0.8329 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.5143, allocations: 0 / 0.8329 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.5144, allocations: 11.98 kB / 0.8329 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.5144, allocations: 4 kB / 0.8329 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.5144, allocations: 79.28 kB / 0.833 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5144, allocations: 0 / 0.833 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002137/0.5146, allocations: 24 kB / 0.833 GB, free: 13.07 MB / 0.6387 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 (4): * Single equations (assignments): 4 * 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.0002034/0.5148, allocations: 155 kB / 0.8332 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.515, allocations: 35.91 kB / 0.8332 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.515, allocations: 0 / 0.8332 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.5151, allocations: 12.38 kB / 0.8332 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.5153, allocations: 11.94 kB / 0.8333 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.5156, allocations: 119.3 kB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.5158, allocations: 0.6766 MB / 0.834 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.5158, allocations: 19.92 kB / 0.834 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.5159, allocations: 7.438 kB / 0.8341 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.5159, allocations: 0 / 0.8341 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of Templates: time 0.003253/0.5191, allocations: 1.075 MB / 0.8351 GB, free: 10.91 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)