Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001102/0.001103, allocations: 109 kB / 15.99 MB, free: 6.367 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.001012/0.001012, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.216/1.216, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 292 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8637/0.8637, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 89.36 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1454, allocations: 86.98 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002422/0.1479, allocations: 1.699 MB / 0.6819 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.401/0.5489, allocations: 149.4 MB / 0.8278 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.5491, allocations: 0 / 0.8278 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.5493, allocations: 19.92 kB / 0.8278 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.5495, allocations: 39.77 kB / 0.8278 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.5499, allocations: 131.5 kB / 0.828 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.55, allocations: 117.1 kB / 0.8281 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.5501, allocations: 29.39 kB / 0.8281 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.5518, allocations: 171.4 kB / 0.8283 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.5518, allocations: 43.78 kB / 0.8283 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.5519, allocations: 8 kB / 0.8283 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.5522, allocations: 187.6 kB / 0.8285 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.5522, allocations: 23.91 kB / 0.8285 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.5523, allocations: 51.73 kB / 0.8286 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.5525, allocations: 135.7 kB / 0.8287 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5525, allocations: 0 / 0.8287 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5525, allocations: 0 / 0.8287 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5525, allocations: 0 / 0.8287 GB, free: 7.508 MB / 0.5919 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.0005604/0.5531, allocations: 443.6 kB / 0.8291 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.5531, allocations: 12.03 kB / 0.8291 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.554, allocations: 84.03 kB / 0.8292 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.5542, allocations: 202.9 kB / 0.8294 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.5542, allocations: 4 kB / 0.8294 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.5543, allocations: 8 kB / 0.8294 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.5547, allocations: 141.5 kB / 0.8295 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5547, allocations: 0 / 0.8295 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.5547, allocations: 4 kB / 0.8296 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.5547, allocations: 7.938 kB / 0.8296 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.5552, allocations: 135.9 kB / 0.8297 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.5559, allocations: 412.3 kB / 0.8301 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.5566, allocations: 257.3 kB / 0.8303 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.5568, allocations: 70.17 kB / 0.8304 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.5569, allocations: 3.938 kB / 0.8304 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.5569, allocations: 42.56 kB / 0.8304 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.5569, allocations: 0 / 0.8304 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006948/0.5576, allocations: 217.4 kB / 0.8306 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5576, allocations: 51.41 kB / 0.8307 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.5578, allocations: 149.3 kB / 0.8308 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.5578, allocations: 29.7 kB / 0.8309 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.5578, allocations: 100 kB / 0.831 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.5579, allocations: 27.78 kB / 0.831 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.5579, allocations: 21.7 kB / 0.831 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.558, allocations: 330.8 kB / 0.8313 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.5582, allocations: 51.95 kB / 0.8314 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.5584, allocations: 74.52 kB / 0.8314 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.5588, allocations: 125.3 kB / 0.8316 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5588, allocations: 4 kB / 0.8316 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004439/0.5593, allocations: 161.9 kB / 0.8317 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5593, allocations: 11.94 kB / 0.8317 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5593, allocations: 80 / 0.8317 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.5593, allocations: 0 / 0.8317 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.5596, allocations: 31.95 kB / 0.8318 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5596, allocations: 6.047 kB / 0.8318 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.5597, allocations: 19.92 kB / 0.8318 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.5597, allocations: 4 kB / 0.8318 GB, free: 4.086 MB / 0.5919 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 8.936e-05/0.5598, allocations: 129.7 kB / 0.8319 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.5599, allocations: 7.906 kB / 0.8319 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.5599, allocations: 12.72 kB / 0.8319 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5599, allocations: 0 / 0.8319 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5599, allocations: 0 / 0.8319 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5599, allocations: 4 kB / 0.8319 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.5607, allocations: 458.3 kB / 0.8324 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5607, allocations: 0 / 0.8324 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.5609, allocations: 35.91 kB / 0.8324 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5609, allocations: 0 / 0.8324 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5609, allocations: 3.984 kB / 0.8324 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5609, allocations: 4 kB / 0.8324 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5609, allocations: 7.875 kB / 0.8324 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.5614, allocations: 259.3 kB / 0.8327 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.5614, allocations: 85.02 kB / 0.8328 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.5614, allocations: 0.875 kB / 0.8328 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.5616, allocations: 15.98 kB / 0.8328 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.5617, allocations: 11.92 kB / 0.8328 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5617, allocations: 4 kB / 0.8328 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.5618, allocations: 117.5 kB / 0.8329 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5618, allocations: 0 / 0.8329 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002497/0.562, allocations: 31.84 kB / 0.8329 GB, free: 2.824 MB / 0.5919 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.0001426/0.5622, allocations: 119.2 kB / 0.833 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.5626, allocations: 127.9 kB / 0.8332 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5626, allocations: 0 / 0.8332 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.5628, allocations: 67.88 kB / 0.8332 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.5632, allocations: 46.86 kB / 0.8333 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.5637, allocations: 297.3 kB / 0.8336 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.564, allocations: 0.6924 MB / 0.8342 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.564, allocations: 19.42 kB / 0.8343 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.564, allocations: 0 / 0.8343 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.002994/0.567, allocations: 1.723 MB / 0.8359 GB, free: 15.7 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)