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.00147/0.00147, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002132/0.002132, allocations: 192 kB / 16.25 MB, free: 6.617 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.95 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002744/0.3565, allocations: 1.703 MB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.5194, allocations: 149.4 MB / 1.215 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.5196, allocations: 0 / 1.215 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.5199, allocations: 19.86 kB / 1.215 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.5202, allocations: 31.78 kB / 1.215 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.5207, allocations: 127.6 kB / 1.215 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.5209, allocations: 119.6 kB / 1.215 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.521, allocations: 29.66 kB / 1.216 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.523, allocations: 162.9 kB / 1.216 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.5231, allocations: 55.77 kB / 1.216 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.5232, allocations: 4 kB / 1.216 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.5236, allocations: 191.6 kB / 1.216 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.5237, allocations: 23.92 kB / 1.216 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.5237, allocations: 47.67 kB / 1.216 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.5241, allocations: 183.5 kB / 1.216 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5241, allocations: 3.938 kB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5241, allocations: 0 / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5241, allocations: 0 / 1.216 GB, free: 2.176 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.0006274/0.5247, allocations: 447 kB / 1.217 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5248, allocations: 8.031 kB / 1.217 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009927/0.5258, allocations: 83.94 kB / 1.217 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.526, allocations: 210.7 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.526, allocations: 8 kB / 1.217 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.5261, allocations: 8 kB / 1.217 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.5265, allocations: 136.2 kB / 1.217 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5266, allocations: 0 / 1.217 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.5266, allocations: 8 kB / 1.217 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5266, allocations: 7.875 kB / 1.217 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.5271, allocations: 139.8 kB / 1.217 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.5279, allocations: 408.5 kB / 1.218 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.5287, allocations: 251.7 kB / 1.218 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.5289, allocations: 80.8 kB / 1.218 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.529, allocations: 0 / 1.218 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.529, allocations: 30.56 kB / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.529, allocations: 0 / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008112/0.5298, allocations: 221.3 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5299, allocations: 55.41 kB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.53, allocations: 145.1 kB / 1.218 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.53, allocations: 29.7 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.5301, allocations: 104.2 kB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.5301, allocations: 27.61 kB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.5302, allocations: 29.69 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5303, allocations: 322.8 kB / 1.219 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.5306, allocations: 51.95 kB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.5308, allocations: 78.83 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.5312, allocations: 120.9 kB / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5312, allocations: 32 / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004878/0.5317, allocations: 161.4 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5318, allocations: 4 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5318, allocations: 0 / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5318, allocations: 0 / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.532, allocations: 35.95 kB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.532, allocations: 0 / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.5322, allocations: 23.92 kB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5322, allocations: 0 / 1.219 GB, free: 14.76 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 9.428e-05/0.5323, allocations: 125.7 kB / 1.219 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.5324, allocations: 15.81 kB / 1.219 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.5324, allocations: 24.64 kB / 1.219 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5325, allocations: 4 kB / 1.219 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5325, allocations: 0 / 1.219 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5325, allocations: 0 / 1.219 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008433/0.5333, allocations: 462.3 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5333, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.5335, allocations: 27.97 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5335, allocations: 4 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5336, allocations: 7.984 kB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5336, allocations: 3.938 kB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5336, allocations: 0 / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.5341, allocations: 267.2 kB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.5342, allocations: 88.95 kB / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.5342, allocations: 0 / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.5344, allocations: 19.92 kB / 1.22 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5345, allocations: 11.98 kB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5345, allocations: 4 kB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.5346, allocations: 114.1 kB / 1.22 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5346, allocations: 0 / 1.22 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002827/0.5349, allocations: 28 kB / 1.22 GB, free: 13.47 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.0001973/0.5351, allocations: 107.2 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.5356, allocations: 139.8 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5356, allocations: 0 / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.5359, allocations: 75.88 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.5362, allocations: 26.19 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.5369, allocations: 267 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.5372, allocations: 0.6963 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.5374, allocations: 28.41 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.5375, allocations: 15.44 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.5375, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.00523/0.5427, allocations: 1.827 MB / 1.224 GB, free: 10.27 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)