Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.825/0.825, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001226/0.001226, allocations: 173.1 kB / 191.5 MB, free: 5.789 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.636/1.636, allocations: 223.2 MB / 447.7 MB, free: 6.473 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.001094/0.001094, allocations: 100.2 kB / 0.5187 GB, free: 2.82 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002503/0.002503, allocations: 270.2 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004267, allocations: 16 kB / 0.693 GB, free: 2.168 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3981, allocations: 82.77 MB / 0.7738 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.5478, allocations: 109 MB / 0.8802 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5481, allocations: 75.95 kB / 0.8803 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004128/0.5522, allocations: 1.521 MB / 0.8817 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5522, allocations: 0 / 0.8817 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5522, allocations: 4 kB / 0.8818 GB, free: 11.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003285/0.5526, allocations: 335.4 kB / 0.8821 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5526, allocations: 8.031 kB / 0.8821 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.5527, allocations: 34.55 kB / 0.8821 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.5529, allocations: 15.98 kB / 0.8821 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.553, allocations: 163 kB / 0.8823 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.553, allocations: 0 / 0.8823 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.553, allocations: 8 kB / 0.8823 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.5532, allocations: 41.62 kB / 0.8823 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5532, allocations: 4 kB / 0.8823 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5532, allocations: 7.984 kB / 0.8823 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5532, allocations: 0 / 0.8823 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.5533, allocations: 15.94 kB / 0.8824 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.5535, allocations: 153.7 kB / 0.8825 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.5554, allocations: 278.4 kB / 0.8828 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.5554, allocations: 0 / 0.8828 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.5555, allocations: 42.5 kB / 0.8828 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.5555, allocations: 0 / 0.8828 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.5557, allocations: 65.69 kB / 0.8829 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.5557, allocations: 51.41 kB / 0.8829 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.5558, allocations: 92.98 kB / 0.883 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5558, allocations: 25.7 kB / 0.883 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.5559, allocations: 84.12 kB / 0.8831 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.5559, allocations: 7.844 kB / 0.8831 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.5559, allocations: 4 kB / 0.8831 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5561, allocations: 319 kB / 0.8834 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.5561, allocations: 8 kB / 0.8834 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.5561, allocations: 11.92 kB / 0.8835 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.5561, allocations: 8.281 kB / 0.8835 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5561, allocations: 0 / 0.8835 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.484e-05/0.5562, allocations: 65.56 kB / 0.8835 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5563, allocations: 4 kB / 0.8835 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5563, allocations: 0 / 0.8835 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5563, allocations: 0 / 0.8835 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.141e-05/0.5564, allocations: 8 kB / 0.8835 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5564, allocations: 4 kB / 0.8835 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.5564, allocations: 3.906 kB / 0.8835 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.5564, allocations: 4 kB / 0.8835 GB, free: 9.441 MB / 0.5417 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 (4): * Single equations (assignments): 4 * 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.452e-05/0.5565, allocations: 110.4 kB / 0.8836 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.5565, allocations: 7.938 kB / 0.8837 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.5566, allocations: 7.5 kB / 0.8837 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5566, allocations: 4 kB / 0.8837 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5566, allocations: 3.938 kB / 0.8837 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5566, allocations: 4 kB / 0.8837 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.5567, allocations: 157.6 kB / 0.8838 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5567, allocations: 0 / 0.8838 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.5568, allocations: 4 kB / 0.8838 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5568, allocations: 4 kB / 0.8838 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5568, allocations: 3.953 kB / 0.8838 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5568, allocations: 0 / 0.8838 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5568, allocations: 0 / 0.8838 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.987e-05/0.5569, allocations: 77.12 kB / 0.8839 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.557, allocations: 85.09 kB / 0.884 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.557, allocations: 4 kB / 0.884 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.5571, allocations: 3.953 kB / 0.884 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.5571, allocations: 0 / 0.884 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5571, allocations: 4 kB / 0.884 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.5571, allocations: 83.22 kB / 0.8841 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5572, allocations: 0 / 0.8841 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001852/0.5573, allocations: 4 kB / 0.8841 GB, free: 8.785 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 (4): * Single equations (assignments): 4 * 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.0004164/0.5578, allocations: 0.6233 MB / 0.8847 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.46e-05/0.5579, allocations: 19.98 kB / 0.8847 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5579, allocations: 7.938 kB / 0.8847 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.5579, allocations: 12 kB / 0.8847 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.5581, allocations: 19.94 kB / 0.8848 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.5585, allocations: 166.2 kB / 0.8849 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5589, allocations: 0.6809 MB / 0.8856 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.954e-05/0.5589, allocations: 4 kB / 0.8856 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.559, allocations: 15.44 kB / 0.8856 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.559, allocations: 3.938 kB / 0.8856 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.572, allocations: 1.103 MB / 0.8867 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.5723, allocations: 203.7 kB / 0.8869 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.1, allocations: 0 / 0.8869 GB, free: 5.973 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)