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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8045/0.8045, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001164/0.001164, allocations: 176.5 kB / 191.5 MB, free: 5.75 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.543/1.543, allocations: 223.2 MB / 447.7 MB, free: 6.555 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.00124/0.00124, allocations: 100.3 kB / 0.5188 GB, free: 2.902 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001718, allocations: 268.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.000429, allocations: 15.98 kB / 0.6929 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3874, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5444, allocations: 110.9 MB / 0.8821 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5447, allocations: 75.95 kB / 0.8822 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.5552, allocations: 3.495 MB / 0.8856 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5553, allocations: 3.938 kB / 0.8856 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.5553, allocations: 0 / 0.8856 GB, free: 7.559 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.0005965/0.5559, allocations: 419 kB / 0.886 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5559, allocations: 16.5 kB / 0.886 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.556, allocations: 34.56 kB / 0.886 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.5562, allocations: 35.88 kB / 0.8861 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.5564, allocations: 190.8 kB / 0.8863 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.5565, allocations: 33.7 kB / 0.8863 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.5566, allocations: 12 kB / 0.8863 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.5569, allocations: 107 kB / 0.8864 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5569, allocations: 7.922 kB / 0.8864 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.5569, allocations: 4 kB / 0.8864 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5569, allocations: 0 / 0.8864 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.5572, allocations: 91.94 kB / 0.8865 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.5578, allocations: 392.5 kB / 0.8869 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.5584, allocations: 130.6 kB / 0.887 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.5584, allocations: 4 kB / 0.887 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.5585, allocations: 30.56 kB / 0.887 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 3.877e-06/0.5585, allocations: 0 / 0.887 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0004624/0.559, allocations: 161.5 kB / 0.8872 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.559, allocations: 51.41 kB / 0.8872 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.5591, allocations: 126.4 kB / 0.8874 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.5592, allocations: 29.7 kB / 0.8874 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.5592, allocations: 96.23 kB / 0.8875 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.5593, allocations: 19.64 kB / 0.8875 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.5593, allocations: 8 kB / 0.8875 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5594, allocations: 318.8 kB / 0.8878 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5595, allocations: 31.97 kB / 0.8878 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.5597, allocations: 53.83 kB / 0.8879 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5598, allocations: 43.92 kB / 0.8879 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5598, allocations: 4 kB / 0.8879 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002688/0.5601, allocations: 109.6 kB / 0.888 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.5601, allocations: 12.03 kB / 0.888 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5601, allocations: 0 / 0.888 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5601, allocations: 3.953 kB / 0.8881 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5603, allocations: 23.92 kB / 0.8881 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5603, allocations: 7.922 kB / 0.8881 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.5604, allocations: 15.94 kB / 0.8881 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.5604, allocations: 4 kB / 0.8881 GB, free: 4.75 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 () * 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 9.223e-05/0.5605, allocations: 117.8 kB / 0.8882 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.5605, allocations: 7.906 kB / 0.8882 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.5606, allocations: 16.7 kB / 0.8882 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5606, allocations: 4 kB / 0.8882 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5606, allocations: 3.953 kB / 0.8882 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5606, allocations: 0 / 0.8882 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.5608, allocations: 193.6 kB / 0.8884 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5609, allocations: 0 / 0.8884 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.561, allocations: 27.98 kB / 0.8885 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.561, allocations: 0 / 0.8885 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.561, allocations: 0 / 0.8885 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.561, allocations: 4 kB / 0.8885 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.561, allocations: 0 / 0.8885 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.5613, allocations: 223.2 kB / 0.8887 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.5614, allocations: 85.02 kB / 0.8888 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.5614, allocations: 3.984 kB / 0.8888 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.5616, allocations: 19.98 kB / 0.8888 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.5616, allocations: 0 / 0.8888 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.5617, allocations: 4 kB / 0.8888 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.731e-05/0.5618, allocations: 120.8 kB / 0.8889 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5618, allocations: 0 / 0.8889 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002292/0.562, allocations: 20 kB / 0.8889 GB, free: 3.824 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 () * Number of clocked 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.0006475/0.5627, allocations: 0.7475 MB / 0.8896 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.5629, allocations: 84.64 kB / 0.8897 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5629, allocations: 64 / 0.8897 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.5631, allocations: 43.92 kB / 0.8898 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.5634, allocations: 27.91 kB / 0.8898 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.5642, allocations: 0.5959 MB / 0.8904 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.5645, allocations: 0.7004 MB / 0.8911 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.5646, allocations: 16.66 kB / 0.8911 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.5647, allocations: 23.44 kB / 0.8911 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of SimCode: time 4.7e-07/0.5647, allocations: 0 / 0.8911 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.5796, allocations: 2.354 MB / 0.8934 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.5798, allocations: 216.5 kB / 0.8936 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.236, allocations: 0 / 0.8936 GB, free: 15.08 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)