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.8185/0.8185, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001008, allocations: 180.9 kB / 182.2 MB, free: 9.434 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.589/1.589, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009693/0.0009692, allocations: 87.72 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 288.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.111e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4287, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.482/3.911, allocations: 1.686 GB / 2.444 GB, free: 101.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/3.911, allocations: 87.83 kB / 2.444 GB, free: 101 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1143/4.025, allocations: 63.69 MB / 2.506 GB, free: 36.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/4.025, allocations: 3.938 kB / 2.506 GB, free: 36.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.224e-05/4.025, allocations: 0 / 2.506 GB, free: 36.12 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.0005253/4.026, allocations: 442.1 kB / 2.506 GB, free: 35.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/4.026, allocations: 8.031 kB / 2.506 GB, free: 35.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008038/4.027, allocations: 83.67 kB / 2.506 GB, free: 35.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/4.027, allocations: 203.9 kB / 2.507 GB, free: 35.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/4.027, allocations: 0 / 2.507 GB, free: 35.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/4.027, allocations: 4 kB / 2.507 GB, free: 35.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001561/4.027, allocations: 75.91 kB / 2.507 GB, free: 35.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/4.027, allocations: 97.56 kB / 2.507 GB, free: 35.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/4.027, allocations: 3.953 kB / 2.507 GB, free: 35.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/4.027, allocations: 0 / 2.507 GB, free: 35.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/4.027, allocations: 0 / 2.507 GB, free: 35.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/4.028, allocations: 385 kB / 2.507 GB, free: 34.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/4.028, allocations: 192.1 kB / 2.507 GB, free: 34.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/4.028, allocations: 44.84 kB / 2.507 GB, free: 34.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/4.028, allocations: 4 kB / 2.507 GB, free: 34.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/4.028, allocations: 34.56 kB / 2.507 GB, free: 34.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/4.028, allocations: 0 / 2.507 GB, free: 34.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002227/4.028, allocations: 105.4 kB / 2.508 GB, free: 34.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/4.028, allocations: 55.41 kB / 2.508 GB, free: 34.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/4.029, allocations: 115 kB / 2.508 GB, free: 34.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/4.029, allocations: 25.7 kB / 2.508 GB, free: 34.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/4.029, allocations: 104.2 kB / 2.508 GB, free: 33.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/4.029, allocations: 27.55 kB / 2.508 GB, free: 33.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/4.029, allocations: 0 / 2.508 GB, free: 33.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.339e-05/4.029, allocations: 330.8 kB / 2.508 GB, free: 33.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/4.029, allocations: 24.16 kB / 2.508 GB, free: 33.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/4.029, allocations: 50.55 kB / 2.508 GB, free: 33.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/4.029, allocations: 31.98 kB / 2.508 GB, free: 33.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/4.029, allocations: 0 / 2.508 GB, free: 33.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001403/4.029, allocations: 97.52 kB / 2.508 GB, free: 33.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/4.029, allocations: 4 kB / 2.508 GB, free: 33.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/4.029, allocations: 4.031 kB / 2.508 GB, free: 33.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/4.029, allocations: 0 / 2.508 GB, free: 33.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/4.029, allocations: 35.95 kB / 2.508 GB, free: 33.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/4.029, allocations: 0 / 2.508 GB, free: 33.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/4.03, allocations: 23.98 kB / 2.508 GB, free: 33.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/4.03, allocations: 0 / 2.508 GB, free: 33.34 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.215e-05/4.03, allocations: 112.9 kB / 2.509 GB, free: 33.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/4.03, allocations: 11.89 kB / 2.509 GB, free: 33.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/4.03, allocations: 12.56 kB / 2.509 GB, free: 33.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/4.03, allocations: 4 kB / 2.509 GB, free: 33.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/4.03, allocations: 0 / 2.509 GB, free: 33.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/4.03, allocations: 0 / 2.509 GB, free: 33.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/4.03, allocations: 378.9 kB / 2.509 GB, free: 32.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/4.03, allocations: 7.938 kB / 2.509 GB, free: 32.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/4.03, allocations: 27.97 kB / 2.509 GB, free: 32.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/4.03, allocations: 4 kB / 2.509 GB, free: 32.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/4.03, allocations: 7.984 kB / 2.509 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/4.03, allocations: 0 / 2.509 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/4.03, allocations: 4 kB / 2.509 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/4.03, allocations: 195.3 kB / 2.509 GB, free: 32.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/4.031, allocations: 92.94 kB / 2.509 GB, free: 32.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/4.031, allocations: 0 / 2.509 GB, free: 32.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/4.031, allocations: 19.98 kB / 2.509 GB, free: 32.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/4.031, allocations: 7.984 kB / 2.509 GB, free: 32.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/4.031, allocations: 4 kB / 2.509 GB, free: 32.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.67e-05/4.031, allocations: 101.2 kB / 2.509 GB, free: 32.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/4.031, allocations: 0 / 2.509 GB, free: 32.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003605/4.031, allocations: 63.89 kB / 2.509 GB, free: 32.22 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.0008766/4.032, allocations: 0.7386 MB / 2.51 GB, free: 31.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001701/4.032, allocations: 67.92 kB / 2.51 GB, free: 31.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/4.032, allocations: 4 kB / 2.51 GB, free: 31.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/4.032, allocations: 35.98 kB / 2.51 GB, free: 31.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/4.033, allocations: 23.97 kB / 2.51 GB, free: 31.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/4.033, allocations: 154.4 kB / 2.51 GB, free: 31.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/4.033, allocations: 0.7041 MB / 2.511 GB, free: 30.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001636/4.033, allocations: 24.64 kB / 2.511 GB, free: 30.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/4.033, allocations: 11.44 kB / 2.511 GB, free: 30.41 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/4.033, allocations: 4 kB / 2.511 GB, free: 30.41 MB / 0.698 GB Notification: Performance of Templates: time 0.007628/4.041, allocations: 5.248 MB / 2.516 GB, free: 25.18 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)