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.879/0.879, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001225/0.001225, allocations: 181.1 kB / 191.5 MB, free: 5.766 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.509/1.509, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.0009857/0.0009857, allocations: 99.7 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 278 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004514, allocations: 15.09 kB / 0.6929 GB, free: 59.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.729/3.926, allocations: 1.687 GB / 2.461 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/3.926, allocations: 91.83 kB / 2.461 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1152/4.042, allocations: 64.76 MB / 2.524 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.273e-06/4.042, allocations: 0 / 2.524 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.728e-06/4.042, allocations: 7.938 kB / 2.524 GB, free: 49.27 MB / 0.7136 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.0006255/4.042, allocations: 451.4 kB / 2.525 GB, free: 48.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/4.042, allocations: 12.83 kB / 2.525 GB, free: 48.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/4.043, allocations: 75.77 kB / 2.525 GB, free: 48.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/4.043, allocations: 209.6 kB / 2.525 GB, free: 48.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/4.043, allocations: 11.94 kB / 2.525 GB, free: 48.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/4.043, allocations: 4 kB / 2.525 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/4.044, allocations: 154 kB / 2.525 GB, free: 48.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/4.044, allocations: 0 / 2.525 GB, free: 48.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/4.044, allocations: 3.953 kB / 2.525 GB, free: 48.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/4.044, allocations: 8 kB / 2.525 GB, free: 48.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/4.044, allocations: 155.9 kB / 2.525 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/4.045, allocations: 416.4 kB / 2.526 GB, free: 47.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/4.046, allocations: 256 kB / 2.526 GB, free: 47.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/4.046, allocations: 0 / 2.526 GB, free: 47.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/4.046, allocations: 46.48 kB / 2.526 GB, free: 47.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/4.046, allocations: 0 / 2.526 GB, free: 47.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0007138/4.047, allocations: 245.6 kB / 2.526 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/4.047, allocations: 55.41 kB / 2.526 GB, free: 47.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/4.047, allocations: 131.5 kB / 2.526 GB, free: 46.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/4.047, allocations: 29.7 kB / 2.526 GB, free: 46.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/4.047, allocations: 104.2 kB / 2.526 GB, free: 46.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/4.047, allocations: 23.8 kB / 2.526 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/4.047, allocations: 0 / 2.526 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.702e-05/4.047, allocations: 322.8 kB / 2.527 GB, free: 46.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/4.047, allocations: 71.94 kB / 2.527 GB, free: 46.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/4.047, allocations: 98.39 kB / 2.527 GB, free: 46.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/4.047, allocations: 67.98 kB / 2.527 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/4.047, allocations: 0 / 2.527 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004181/4.048, allocations: 185.4 kB / 2.527 GB, free: 45.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/4.048, allocations: 7.984 kB / 2.527 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/4.048, allocations: 0 / 2.527 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/4.048, allocations: 0 / 2.527 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/4.048, allocations: 31.97 kB / 2.527 GB, free: 45.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/4.048, allocations: 7.938 kB / 2.527 GB, free: 45.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/4.048, allocations: 23.92 kB / 2.527 GB, free: 45.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/4.048, allocations: 7.984 kB / 2.527 GB, free: 45.88 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/4.048, allocations: 121.8 kB / 2.527 GB, free: 45.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/4.048, allocations: 11.89 kB / 2.527 GB, free: 45.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/4.049, allocations: 20.66 kB / 2.527 GB, free: 45.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/4.049, allocations: 0 / 2.527 GB, free: 45.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/4.049, allocations: 3.984 kB / 2.527 GB, free: 45.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/4.049, allocations: 0 / 2.527 GB, free: 45.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/4.049, allocations: 486.3 kB / 2.528 GB, free: 45.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/4.049, allocations: 3.938 kB / 2.528 GB, free: 45.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/4.05, allocations: 35.97 kB / 2.528 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/4.05, allocations: 0 / 2.528 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/4.05, allocations: 0 / 2.528 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/4.05, allocations: 4 kB / 2.528 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/4.05, allocations: 0 / 2.528 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/4.05, allocations: 283.9 kB / 2.528 GB, free: 44.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/4.05, allocations: 81.02 kB / 2.528 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/4.05, allocations: 7.984 kB / 2.528 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/4.05, allocations: 23.89 kB / 2.528 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/4.05, allocations: 7.984 kB / 2.528 GB, free: 44.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/4.05, allocations: 0 / 2.528 GB, free: 44.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.295e-05/4.05, allocations: 122.2 kB / 2.528 GB, free: 44.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/4.051, allocations: 0 / 2.528 GB, free: 44.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004192/4.051, allocations: 79.92 kB / 2.528 GB, free: 44.52 MB / 0.7136 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 (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.0008455/4.052, allocations: 0.623 MB / 2.529 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005266/4.052, allocations: 139.9 kB / 2.529 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/4.052, allocations: 4 kB / 2.529 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/4.053, allocations: 79.88 kB / 2.529 GB, free: 43.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/4.053, allocations: 41.83 kB / 2.529 GB, free: 43.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/4.054, allocations: 261.6 kB / 2.53 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/4.054, allocations: 0.7043 MB / 2.53 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001606/4.054, allocations: 28.41 kB / 2.53 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/4.054, allocations: 15.42 kB / 2.53 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/4.054, allocations: 0 / 2.53 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.01391/4.068, allocations: 9.88 MB / 2.54 GB, free: 32.71 MB / 0.7136 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)