Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.7722/0.7722, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001449, allocations: 189.8 kB / 187.3 MB, free: 11.88 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.497/1.497, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009228/0.0009227, allocations: 94.66 kB / 0.5124 GB, free: 24.09 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002033, allocations: 272.1 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 7.181e-05/7.183e-05, allocations: 11.97 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5348, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.6627, allocations: 110.6 MB / 0.8723 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.663, allocations: 75.95 kB / 0.8724 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008325/0.6714, allocations: 2.55 MB / 0.8749 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6714, allocations: 0 / 0.8749 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.6714, allocations: 4 kB / 0.8749 GB, free: 11.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000541/0.672, allocations: 399.5 kB / 0.8753 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.672, allocations: 8.031 kB / 0.8753 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.6721, allocations: 30.56 kB / 0.8753 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.6721, allocations: 7.906 kB / 0.8753 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.6723, allocations: 171 kB / 0.8755 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6723, allocations: 0 / 0.8755 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.6723, allocations: 8 kB / 0.8755 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.6724, allocations: 53.69 kB / 0.8756 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.6725, allocations: 3.938 kB / 0.8756 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.6725, allocations: 0 / 0.8756 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.6725, allocations: 0 / 0.8756 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.6725, allocations: 24 kB / 0.8756 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.673, allocations: 280.7 kB / 0.8758 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.581e-05/0.6731, allocations: 46.5 kB / 0.8759 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.6731, allocations: 20.94 kB / 0.8759 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.6733, allocations: 89.09 kB / 0.876 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.6733, allocations: 30.56 kB / 0.876 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6733, allocations: 0 / 0.876 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.6735, allocations: 57.55 kB / 0.8761 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.6736, allocations: 51.41 kB / 0.8761 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.6737, allocations: 117 kB / 0.8762 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.6737, allocations: 25.7 kB / 0.8763 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.6738, allocations: 88.14 kB / 0.8763 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.6738, allocations: 11.83 kB / 0.8764 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.6738, allocations: 0 / 0.8764 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6739, allocations: 326.7 kB / 0.8767 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.674, allocations: 11.94 kB / 0.8767 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.674, allocations: 8 kB / 0.8767 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.674, allocations: 11.98 kB / 0.8767 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.674, allocations: 0 / 0.8767 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.984e-05/0.6741, allocations: 53.61 kB / 0.8768 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6741, allocations: 8 kB / 0.8768 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6742, allocations: 0 / 0.8768 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6742, allocations: 0 / 0.8768 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6743, allocations: 23.97 kB / 0.8768 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6743, allocations: 0 / 0.8768 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.6744, allocations: 19.98 kB / 0.8768 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.6744, allocations: 0 / 0.8768 GB, free: 9.145 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.05e-05/0.6745, allocations: 116.9 kB / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.6746, allocations: 3.906 kB / 0.8769 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.6747, allocations: 63.81 kB / 0.877 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.6747, allocations: 0 / 0.877 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6747, allocations: 0 / 0.877 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6747, allocations: 4 kB / 0.877 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.6749, allocations: 173.6 kB / 0.8771 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6749, allocations: 4 kB / 0.8772 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.675, allocations: 15.98 kB / 0.8772 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.6751, allocations: 4 kB / 0.8772 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.6751, allocations: 0 / 0.8772 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.6751, allocations: 4 kB / 0.8772 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6751, allocations: 0 / 0.8772 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.6752, allocations: 159.4 kB / 0.8773 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.6753, allocations: 85.3 kB / 0.8774 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.6753, allocations: 3.984 kB / 0.8774 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6754, allocations: 15.98 kB / 0.8774 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.6755, allocations: 3.984 kB / 0.8774 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.6755, allocations: 0 / 0.8774 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.6756, allocations: 99.27 kB / 0.8775 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6756, allocations: 3.938 kB / 0.8775 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002547/0.6758, allocations: 35.94 kB / 0.8776 GB, free: 8.27 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 (3): * Single equations (assignments): 3 * 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.0005373/0.6764, allocations: 0.7279 MB / 0.8783 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.6765, allocations: 24 kB / 0.8783 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6765, allocations: 0 / 0.8783 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.6765, allocations: 12 kB / 0.8783 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.6767, allocations: 11.98 kB / 0.8783 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.6771, allocations: 130.4 kB / 0.8784 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.6774, allocations: 0.6887 MB / 0.8791 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.6775, allocations: 4 kB / 0.8791 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.6775, allocations: 15.44 kB / 0.8791 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.6775, allocations: 0 / 0.8791 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.6915, allocations: 2.034 MB / 0.8811 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.6918, allocations: 161.5 kB / 0.8813 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.396, allocations: 7.938 kB / 0.8813 GB, free: 4.465 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)