Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.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 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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, 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.001675/0.001675, allocations: 193.5 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.94 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.367, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003206/0.3703, allocations: 1.55 MB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3719, allocations: 0.8412 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.3719, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.372, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.372, allocations: 3.938 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.3725, allocations: 119.5 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.3726, allocations: 47.86 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3727, allocations: 15.98 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.3728, allocations: 15.92 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.3728, allocations: 23.86 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3729, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.3732, allocations: 175.7 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3732, allocations: 7.984 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.3733, allocations: 23.86 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.3736, allocations: 151.9 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3736, allocations: 3.938 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.278e-06/0.3736, allocations: 4 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3736, allocations: 0 / 1.07 GB, free: 7.961 MB / 0.8262 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.0006516/0.3743, allocations: 395.2 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3743, allocations: 8.031 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.3744, allocations: 4.938 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3745, allocations: 172.2 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3745, allocations: 4.375 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3745, allocations: 8.375 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3748, allocations: 82.12 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3748, allocations: 192 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3749, allocations: 3.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3749, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.3752, allocations: 67.92 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3756, allocations: 292.7 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.3758, allocations: 62.47 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.376, allocations: 40.92 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.3762, allocations: 93.09 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3762, allocations: 30.56 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3762, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005533/0.3768, allocations: 129.6 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3769, allocations: 55.34 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.3769, allocations: 121.7 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.377, allocations: 25.7 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.377, allocations: 96.03 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3771, allocations: 7.844 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3771, allocations: 21.72 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3772, allocations: 318.8 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3774, allocations: 27.95 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3775, allocations: 31.97 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.3778, allocations: 72.78 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3778, allocations: 0 / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003102/0.3781, allocations: 97.62 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3781, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3782, allocations: 3.938 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3782, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3783, allocations: 23.97 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3783, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.3784, allocations: 19.89 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3784, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 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 9.496e-05/0.3785, allocations: 117.8 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3785, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.3789, allocations: 105.5 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3789, allocations: 3.984 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.379, allocations: 7.938 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.379, allocations: 384 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.3791, allocations: 169.6 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3791, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3793, allocations: 27.91 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3793, allocations: 4 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3793, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3793, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3793, allocations: 3.984 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.3797, allocations: 195.3 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.3797, allocations: 89.03 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.3797, allocations: 4 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3799, allocations: 11.98 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3799, allocations: 0 / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.3799, allocations: 7.984 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.38, allocations: 91.22 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.38, allocations: 0 / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000291/0.3803, allocations: 39.89 kB / 1.073 GB, free: 4.473 MB / 0.8262 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.0002502/0.3805, allocations: 135.2 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.3809, allocations: 67.92 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3809, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3811, allocations: 35.95 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3814, allocations: 15.94 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.3818, allocations: 148.9 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3821, allocations: 0.6809 MB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.3822, allocations: 11.98 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.3822, allocations: 7.438 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3822, allocations: 0 / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of Templates: time 0.00383/0.3861, allocations: 1.226 MB / 1.076 GB, free: 2.102 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)