Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9216/0.9216, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.00103/0.00103, allocations: 184.8 kB / 182.2 MB, free: 9.441 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.427/1.427, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.001069/0.001069, allocations: 107.6 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001865, allocations: 278.3 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.249e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4614, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.6002, allocations: 110.2 MB / 0.865 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.6005, allocations: 79.83 kB / 0.865 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01032/0.6108, allocations: 3.481 MB / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6109, allocations: 0 / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.6109, allocations: 4 kB / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005005/0.6114, allocations: 390.3 kB / 0.8688 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6115, allocations: 8.031 kB / 0.8688 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.6117, allocations: 27.88 kB / 0.8688 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.6119, allocations: 198.8 kB / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.612, allocations: 41.62 kB / 0.8691 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.612, allocations: 4 kB / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001461/0.6122, allocations: 48 kB / 0.8691 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6123, allocations: 69.67 kB / 0.8692 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6124, allocations: 0 / 0.8692 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6124, allocations: 0 / 0.8692 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6124, allocations: 4 kB / 0.8692 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.613, allocations: 353 kB / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.6134, allocations: 110.6 kB / 0.8696 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.6135, allocations: 28.86 kB / 0.8697 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.6135, allocations: 4 kB / 0.8697 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.6135, allocations: 34.59 kB / 0.8697 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.6135, allocations: 0 / 0.8697 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0001825/0.6137, allocations: 73.86 kB / 0.8698 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.6138, allocations: 55.41 kB / 0.8698 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.6139, allocations: 111.5 kB / 0.8699 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6139, allocations: 29.7 kB / 0.87 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.6139, allocations: 104 kB / 0.8701 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.614, allocations: 19.66 kB / 0.8701 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.614, allocations: 0 / 0.8701 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6141, allocations: 318.8 kB / 0.8704 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.6142, allocations: 20 kB / 0.8704 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.6142, allocations: 35.16 kB / 0.8704 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.6143, allocations: 23.98 kB / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6143, allocations: 0 / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001228/0.6144, allocations: 77.59 kB / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6144, allocations: 9.562 kB / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6144, allocations: 0 / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6144, allocations: 0 / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.6146, allocations: 27.91 kB / 0.8706 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.6146, allocations: 0 / 0.8706 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.6147, allocations: 23.88 kB / 0.8706 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.6147, allocations: 8 kB / 0.8706 GB, free: 11.69 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.098e-05/0.6148, allocations: 104.9 kB / 0.8707 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.6148, allocations: 4 kB / 0.8707 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.6149, allocations: 12.62 kB / 0.8707 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6149, allocations: 4 kB / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6149, allocations: 0 / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6149, allocations: 0 / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.6151, allocations: 182 kB / 0.8709 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6151, allocations: 4 kB / 0.8709 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.6152, allocations: 19.98 kB / 0.8709 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6152, allocations: 0 / 0.8709 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.6152, allocations: 0 / 0.8709 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6152, allocations: 0 / 0.8709 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6152, allocations: 0 / 0.8709 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.6154, allocations: 176.4 kB / 0.8711 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.6154, allocations: 89.02 kB / 0.8712 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.6155, allocations: 0 / 0.8712 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.6156, allocations: 15.98 kB / 0.8712 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.6157, allocations: 0 / 0.8712 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.6157, allocations: 7.984 kB / 0.8712 GB, free: 11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.6157, allocations: 92.91 kB / 0.8713 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6157, allocations: 0 / 0.8713 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002488/0.616, allocations: 19.91 kB / 0.8713 GB, free: 10.89 MB / 0.5417 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 (7): * Single equations (assignments): 7 * 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.0001058/0.6161, allocations: 105.2 kB / 0.8714 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.6162, allocations: 47.92 kB / 0.8714 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6162, allocations: 0 / 0.8714 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.6163, allocations: 25.56 kB / 0.8715 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.6166, allocations: 23.88 kB / 0.8715 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.6169, allocations: 128.1 kB / 0.8716 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.6172, allocations: 0.7007 MB / 0.8723 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.237e-05/0.6173, allocations: 16.17 kB / 0.8723 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.6173, allocations: 7.438 kB / 0.8723 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6173, allocations: 4 kB / 0.8723 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of Templates: time 0.003202/0.6205, allocations: 1.092 MB / 0.8734 GB, free: 8.715 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)