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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7985/0.7985, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 185.4 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 221.3 MB / 441.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000998/0.0009982, allocations: 94.72 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001797, allocations: 267.9 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.674e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4856, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.967/4.453, allocations: 1.687 GB / 2.451 GB, free: 92.31 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/4.453, allocations: 87.81 kB / 2.451 GB, free: 92.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1162/4.569, allocations: 64.68 MB / 2.514 GB, free: 26.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/4.569, allocations: 0 / 2.514 GB, free: 26.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.267e-05/4.569, allocations: 4 kB / 2.514 GB, free: 26.39 MB / 0.698 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.000572/4.57, allocations: 430.2 kB / 2.515 GB, free: 25.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/4.57, allocations: 12.03 kB / 2.515 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007446/4.571, allocations: 79.67 kB / 2.515 GB, free: 25.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/4.571, allocations: 212.5 kB / 2.515 GB, free: 25.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/4.571, allocations: 8 kB / 2.515 GB, free: 25.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/4.571, allocations: 4 kB / 2.515 GB, free: 25.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/4.571, allocations: 109.5 kB / 2.515 GB, free: 25.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/4.571, allocations: 0 / 2.515 GB, free: 25.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/4.571, allocations: 7.953 kB / 2.515 GB, free: 25.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/4.571, allocations: 0 / 2.515 GB, free: 25.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/4.571, allocations: 73.33 kB / 2.515 GB, free: 25.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/4.572, allocations: 416.4 kB / 2.516 GB, free: 24.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/4.572, allocations: 203.8 kB / 2.516 GB, free: 24.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/4.572, allocations: 44.86 kB / 2.516 GB, free: 24.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/4.572, allocations: 7.984 kB / 2.516 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/4.572, allocations: 34.56 kB / 2.516 GB, free: 24.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/4.572, allocations: 0 / 2.516 GB, free: 24.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002588/4.573, allocations: 105.7 kB / 2.516 GB, free: 24.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/4.573, allocations: 55.41 kB / 2.516 GB, free: 24.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/4.573, allocations: 132.3 kB / 2.516 GB, free: 24.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/4.573, allocations: 29.7 kB / 2.516 GB, free: 24.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/4.573, allocations: 100.3 kB / 2.516 GB, free: 24.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/4.573, allocations: 27.7 kB / 2.516 GB, free: 24.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/4.573, allocations: 0 / 2.516 GB, free: 24.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/4.573, allocations: 326.8 kB / 2.517 GB, free: 23.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/4.573, allocations: 27.98 kB / 2.517 GB, free: 23.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/4.573, allocations: 54.56 kB / 2.517 GB, free: 23.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/4.573, allocations: 28.2 kB / 2.517 GB, free: 23.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/4.573, allocations: 4 kB / 2.517 GB, free: 23.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001536/4.573, allocations: 105.5 kB / 2.517 GB, free: 23.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/4.573, allocations: 4 kB / 2.517 GB, free: 23.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/4.573, allocations: 3.938 kB / 2.517 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/4.573, allocations: 4 kB / 2.517 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/4.574, allocations: 36 kB / 2.517 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/4.574, allocations: 0 / 2.517 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/4.574, allocations: 23.88 kB / 2.517 GB, free: 23.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/4.574, allocations: 4 kB / 2.517 GB, free: 23.49 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/4.574, allocations: 108.9 kB / 2.517 GB, free: 23.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/4.574, allocations: 11.91 kB / 2.517 GB, free: 23.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/4.574, allocations: 20.61 kB / 2.517 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/4.574, allocations: 7.984 kB / 2.517 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/4.574, allocations: 0 / 2.517 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/4.574, allocations: 3.938 kB / 2.517 GB, free: 23.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/4.574, allocations: 410.3 kB / 2.518 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/4.574, allocations: 0 / 2.518 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/4.575, allocations: 39.97 kB / 2.518 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/4.575, allocations: 0 / 2.518 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/4.575, allocations: 0 / 2.518 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/4.575, allocations: 0 / 2.518 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/4.575, allocations: 0 / 2.518 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/4.575, allocations: 215.2 kB / 2.518 GB, free: 22.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/4.575, allocations: 89.02 kB / 2.518 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/4.575, allocations: 0 / 2.518 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/4.575, allocations: 23.97 kB / 2.518 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/4.575, allocations: 4 kB / 2.518 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/4.575, allocations: 7.984 kB / 2.518 GB, free: 22.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.528e-05/4.575, allocations: 111.1 kB / 2.518 GB, free: 22.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.575, allocations: 4 kB / 2.518 GB, free: 22.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004234/4.576, allocations: 71.98 kB / 2.518 GB, free: 22.29 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007649/4.576, allocations: 0.6288 MB / 2.519 GB, free: 21.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001833/4.577, allocations: 67.92 kB / 2.519 GB, free: 21.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/4.577, allocations: 0 / 2.519 GB, free: 21.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.869e-05/4.577, allocations: 39.98 kB / 2.519 GB, free: 21.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/4.577, allocations: 27.92 kB / 2.519 GB, free: 21.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/4.577, allocations: 153.6 kB / 2.519 GB, free: 21.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/4.578, allocations: 0.7121 MB / 2.52 GB, free: 20.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001407/4.578, allocations: 24.41 kB / 2.52 GB, free: 20.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/4.578, allocations: 19.42 kB / 2.52 GB, free: 20.58 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/4.578, allocations: 0 / 2.52 GB, free: 20.58 MB / 0.698 GB Notification: Performance of Templates: time 0.01335/4.591, allocations: 11.79 MB / 2.531 GB, free: 8.797 MB / 0.698 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)