Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.8501/0.8501, allocations: 143.4 MB / 158.3 MB, free: 5.672 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.001185/0.001185, allocations: 180.2 kB / 191.5 MB, free: 5.672 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.778/1.778, allocations: 223.2 MB / 447.7 MB, free: 6.543 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.001099/0.001099, allocations: 94.16 kB / 0.5187 GB, free: 2.898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 277.2 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004956, allocations: 12 kB / 0.6929 GB, free: 2.234 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3978, allocations: 82.78 MB / 0.7738 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5589, allocations: 110.3 MB / 0.8815 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.5593, allocations: 83.89 kB / 0.8816 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008529/0.5678, allocations: 2.709 MB / 0.8843 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5679, allocations: 0 / 0.8843 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5679, allocations: 0 / 0.8843 GB, free: 8.961 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.0004261/0.5683, allocations: 371.2 kB / 0.8846 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5684, allocations: 8.031 kB / 0.8846 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.5684, allocations: 34.56 kB / 0.8847 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.5685, allocations: 4 kB / 0.8847 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.5686, allocations: 166.9 kB / 0.8848 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.21e-05/0.5687, allocations: 37.62 kB / 0.8849 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.5687, allocations: 0 / 0.8849 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.5689, allocations: 49.61 kB / 0.8849 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.5689, allocations: 4 kB / 0.8849 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5689, allocations: 0 / 0.8849 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5689, allocations: 0 / 0.8849 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.569, allocations: 19.98 kB / 0.8849 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.5692, allocations: 157.6 kB / 0.8851 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.5694, allocations: 46.61 kB / 0.8851 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.5698, allocations: 186.3 kB / 0.8853 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.5699, allocations: 34.56 kB / 0.8853 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5699, allocations: 3.938 kB / 0.8853 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0003047/0.5702, allocations: 61.67 kB / 0.8854 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.5702, allocations: 55.41 kB / 0.8854 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.5703, allocations: 89 kB / 0.8855 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.5704, allocations: 33.7 kB / 0.8856 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.5704, allocations: 84.12 kB / 0.8856 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.5705, allocations: 11.75 kB / 0.8857 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.5705, allocations: 4 kB / 0.8857 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5707, allocations: 310.8 kB / 0.886 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.5707, allocations: 11.98 kB / 0.886 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.5708, allocations: 8 kB / 0.886 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.5708, allocations: 15.92 kB / 0.886 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5709, allocations: 7.938 kB / 0.886 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001285/0.571, allocations: 57.64 kB / 0.8861 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.571, allocations: 4 kB / 0.8861 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.571, allocations: 4 kB / 0.8861 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.5711, allocations: 4 kB / 0.8861 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.5711, allocations: 7.984 kB / 0.8861 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.5712, allocations: 3.984 kB / 0.8861 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.5713, allocations: 4 kB / 0.8861 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5713, allocations: 0 / 0.8861 GB, free: 6.836 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 0.0001046/0.5714, allocations: 118.4 kB / 0.8862 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.5714, allocations: 3.953 kB / 0.8862 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.5716, allocations: 73.53 kB / 0.8863 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5716, allocations: 0 / 0.8863 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5716, allocations: 0 / 0.8863 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5716, allocations: 48 / 0.8863 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5718, allocations: 157.7 kB / 0.8864 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5718, allocations: 0 / 0.8864 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.5718, allocations: 15.98 kB / 0.8864 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5719, allocations: 3.953 kB / 0.8864 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5719, allocations: 3.938 kB / 0.8864 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5719, allocations: 0 / 0.8864 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5719, allocations: 4 kB / 0.8864 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.572, allocations: 81.05 kB / 0.8865 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.5721, allocations: 85.11 kB / 0.8866 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.5722, allocations: 3.953 kB / 0.8866 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.5722, allocations: 11.98 kB / 0.8866 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.5723, allocations: 0 / 0.8866 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.5723, allocations: 0 / 0.8866 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.5723, allocations: 79.28 kB / 0.8867 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5723, allocations: 0 / 0.8867 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002534/0.5726, allocations: 43.92 kB / 0.8867 GB, free: 6.059 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.0007006/0.5733, allocations: 0.663 MB / 0.8874 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.5735, allocations: 31.92 kB / 0.8874 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5735, allocations: 0 / 0.8874 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.5735, allocations: 8 kB / 0.8874 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.5737, allocations: 17.44 kB / 0.8874 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.5742, allocations: 192.3 kB / 0.8876 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.5746, allocations: 0.677 MB / 0.8883 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.249e-05/0.5747, allocations: 8 kB / 0.8883 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.5747, allocations: 11.44 kB / 0.8883 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of SimCode: time 2.11e-07/0.5747, allocations: 0 / 0.8883 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.5887, allocations: 1.649 MB / 0.8899 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.589, allocations: 201.2 kB / 0.8901 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.18, allocations: 4 kB / 0.8901 GB, free: 2.652 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)