Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001537/0.001537, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.55 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3908, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003136/0.394, allocations: 1.65 MB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1816/0.5756, allocations: 151.6 MB / 1.218 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.5758, allocations: 7.938 kB / 1.218 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.5762, allocations: 11.86 kB / 1.218 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.5766, allocations: 43.66 kB / 1.218 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.5773, allocations: 143.4 kB / 1.218 GB, free: 480 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.5776, allocations: 119.6 kB / 1.218 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.5778, allocations: 29.67 kB / 1.218 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.5794, allocations: 173.2 kB / 1.218 GB, free: 180 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5796, allocations: 43.78 kB / 1.218 GB, free: 136 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.5796, allocations: 4 kB / 1.218 GB, free: 132 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.5802, allocations: 183.8 kB / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.5803, allocations: 19.92 kB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.5804, allocations: 43.73 kB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.581, allocations: 199.3 kB / 1.219 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.581, allocations: 4 kB / 1.219 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.847e-06/0.581, allocations: 4 kB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.581, allocations: 3.938 kB / 1.219 GB, free: 15.68 MB / 0.9825 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.000874/0.5819, allocations: 437.4 kB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.582, allocations: 8.031 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.5833, allocations: 91.88 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.5836, allocations: 206.8 kB / 1.219 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5836, allocations: 0 / 1.219 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.5837, allocations: 12 kB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.5844, allocations: 133.5 kB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5844, allocations: 4 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.5844, allocations: 4 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.5844, allocations: 3.938 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.5852, allocations: 135.9 kB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.5864, allocations: 420.3 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.5874, allocations: 247.7 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.5877, allocations: 72.8 kB / 1.22 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.5878, allocations: 0 / 1.22 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.5878, allocations: 38.56 kB / 1.22 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.714e-06/0.5878, allocations: 0 / 1.22 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001082/0.5889, allocations: 225.2 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.589, allocations: 59.41 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.5892, allocations: 145.1 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.5892, allocations: 25.7 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.5893, allocations: 104.2 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.5894, allocations: 27.61 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.24e-05/0.5895, allocations: 21.72 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5897, allocations: 326.8 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.59, allocations: 59.94 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.5904, allocations: 74.52 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005935/0.591, allocations: 120.7 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.591, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007111/0.5918, allocations: 161.5 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5918, allocations: 4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5918, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.5918, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.5921, allocations: 27.97 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5921, allocations: 0 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5924, allocations: 23.91 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.5924, allocations: 0 / 1.222 GB, free: 12.28 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.0001446/0.5925, allocations: 130.2 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.5926, allocations: 15.81 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.5927, allocations: 12.7 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.5927, allocations: 7.984 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5927, allocations: 7.875 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5927, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.5939, allocations: 462.4 kB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5939, allocations: 0 / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.5942, allocations: 31.91 kB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5942, allocations: 4 kB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.5942, allocations: 4 kB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.5942, allocations: 3.938 kB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5942, allocations: 0 / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.5951, allocations: 263.2 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.5952, allocations: 92.94 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.5953, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.5955, allocations: 23.92 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.5956, allocations: 3.984 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.5956, allocations: 4 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001872/0.5958, allocations: 115.2 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5958, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000469/0.5963, allocations: 28 kB / 1.223 GB, free: 10.99 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.0002163/0.5966, allocations: 111.2 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007644/0.5973, allocations: 132.6 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5973, allocations: 0 / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.5977, allocations: 71.88 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.5982, allocations: 33.52 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.599, allocations: 235 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.5993, allocations: 0.708 MB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.5994, allocations: 24.36 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.5995, allocations: 23.42 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.5995, allocations: 0 / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.005342/0.6048, allocations: 1.931 MB / 1.226 GB, free: 7.699 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)