Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 190.5 kB / 16.14 MB, free: 6.688 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.112/3.112, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 66.22 kB / 0.9113 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3793, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003348/0.3827, allocations: 1.694 MB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1899/0.5726, allocations: 149.3 MB / 1.215 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.5728, allocations: 4 kB / 1.215 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.5731, allocations: 11.88 kB / 1.215 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.5733, allocations: 35.77 kB / 1.215 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.5737, allocations: 131.5 kB / 1.215 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.5739, allocations: 119.6 kB / 1.215 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.574, allocations: 25.66 kB / 1.215 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.5758, allocations: 149.2 kB / 1.215 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.5759, allocations: 39.83 kB / 1.215 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.576, allocations: 12 kB / 1.215 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.5764, allocations: 183.7 kB / 1.216 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.5764, allocations: 15.92 kB / 1.216 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.5765, allocations: 43.73 kB / 1.216 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.5768, allocations: 187.4 kB / 1.216 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5768, allocations: 4 kB / 1.216 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5768, allocations: 0 / 1.216 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5768, allocations: 0 / 1.216 GB, free: 2.422 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006906/0.5775, allocations: 443 kB / 1.216 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5776, allocations: 8.031 kB / 1.216 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.5786, allocations: 91.91 kB / 1.216 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.5789, allocations: 212.6 kB / 1.217 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5789, allocations: 4 kB / 1.217 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.5789, allocations: 8 kB / 1.217 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.5794, allocations: 135.9 kB / 1.217 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5794, allocations: 4 kB / 1.217 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.5794, allocations: 4 kB / 1.217 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5795, allocations: 3.938 kB / 1.217 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.58, allocations: 135.9 kB / 1.217 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.5809, allocations: 412.4 kB / 1.217 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.5816, allocations: 247.7 kB / 1.217 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.5819, allocations: 84.73 kB / 1.218 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.5819, allocations: 0 / 1.218 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.582, allocations: 34.5 kB / 1.218 GB, free: 464 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.582, allocations: 0 / 1.218 GB, free: 464 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008102/0.5828, allocations: 217.6 kB / 1.218 GB, free: 240 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.5828, allocations: 55.41 kB / 1.218 GB, free: 172 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.583, allocations: 142.5 kB / 1.218 GB, free: 20 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.583, allocations: 29.7 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.5831, allocations: 104.2 kB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.5831, allocations: 27.62 kB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.5832, allocations: 25.7 kB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5833, allocations: 326.8 kB / 1.218 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.5836, allocations: 51.95 kB / 1.219 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.5838, allocations: 90.5 kB / 1.219 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.5843, allocations: 116.8 kB / 1.219 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5843, allocations: 0 / 1.219 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004831/0.5848, allocations: 153.5 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5848, allocations: 4 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5848, allocations: 0 / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5848, allocations: 7.922 kB / 1.219 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.585, allocations: 35.97 kB / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5851, allocations: 3.938 kB / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.5852, allocations: 23.92 kB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.5853, allocations: 0 / 1.219 GB, free: 15 MB / 0.9825 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 (8): * Single equations (assignments): 8 * 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 0.0001058/0.5854, allocations: 125.8 kB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.5854, allocations: 11.81 kB / 1.219 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.5855, allocations: 16.72 kB / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5855, allocations: 4 kB / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5855, allocations: 0 / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5855, allocations: 0 / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.5863, allocations: 462.4 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5863, allocations: 3.938 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.5865, allocations: 31.95 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5865, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5866, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5866, allocations: 3.938 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5866, allocations: 0 / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.5871, allocations: 259.2 kB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.5872, allocations: 88.95 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.5872, allocations: 3.938 kB / 1.22 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5874, allocations: 27.91 kB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5874, allocations: 4 kB / 1.22 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5875, allocations: 7.984 kB / 1.22 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.5875, allocations: 113.6 kB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5875, allocations: 0 / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002706/0.5878, allocations: 28 kB / 1.22 GB, free: 13.73 MB / 0.9825 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 (8): * Single equations (assignments): 8 * 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.0001865/0.588, allocations: 115.2 kB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004993/0.5885, allocations: 131.9 kB / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5885, allocations: 0 / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.5888, allocations: 67.88 kB / 1.22 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.5891, allocations: 24.69 kB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.5898, allocations: 268.8 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.59, allocations: 0.6965 MB / 1.221 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.5902, allocations: 32.34 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.5903, allocations: 11.44 kB / 1.221 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.5903, allocations: 4 kB / 1.221 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.004905/0.5952, allocations: 1.756 MB / 1.223 GB, free: 10.6 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)