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.7847/0.7847, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001274/0.001274, allocations: 186.4 kB / 187.3 MB, free: 11.89 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.565/1.565, allocations: 221.3 MB / 441.4 MB, free: 4.637 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.001002/0.001002, allocations: 97.14 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 278.9 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.371e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5652, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.7004, allocations: 110.3 MB / 0.872 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.7008, allocations: 82.83 kB / 0.8721 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008427/0.7092, allocations: 2.709 MB / 0.8748 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7092, allocations: 0 / 0.8748 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7093, allocations: 4 kB / 0.8748 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.0003821/0.7096, allocations: 359.6 kB / 0.8751 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.7097, allocations: 16.02 kB / 0.8751 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.7098, allocations: 34.56 kB / 0.8752 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.7098, allocations: 0 / 0.8752 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7099, allocations: 167 kB / 0.8753 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.71, allocations: 25.7 kB / 0.8754 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.71, allocations: 4 kB / 0.8754 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.7101, allocations: 41.69 kB / 0.8754 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7102, allocations: 4 kB / 0.8754 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7102, allocations: 3.938 kB / 0.8754 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7102, allocations: 0 / 0.8754 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.7103, allocations: 15.98 kB / 0.8754 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.7105, allocations: 161.5 kB / 0.8756 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.7107, allocations: 46.61 kB / 0.8756 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.7107, allocations: 12.86 kB / 0.8756 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.711, allocations: 182.3 kB / 0.8758 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.7111, allocations: 34.56 kB / 0.8758 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.7111, allocations: 3.938 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001507/0.7112, allocations: 49.62 kB / 0.8759 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.7113, allocations: 51.41 kB / 0.8759 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.7114, allocations: 93 kB / 0.876 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.7114, allocations: 29.7 kB / 0.8761 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.7114, allocations: 80.14 kB / 0.8761 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.7115, allocations: 19.73 kB / 0.8761 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.7115, allocations: 4 kB / 0.8762 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7116, allocations: 310.8 kB / 0.8764 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.7116, allocations: 7.938 kB / 0.8765 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.7117, allocations: 8 kB / 0.8765 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.7117, allocations: 8 kB / 0.8765 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7117, allocations: 0 / 0.8765 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.447e-05/0.7118, allocations: 57.58 kB / 0.8765 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.7118, allocations: 8 kB / 0.8765 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7118, allocations: 0 / 0.8765 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.7118, allocations: 0 / 0.8765 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.7119, allocations: 15.98 kB / 0.8766 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.7119, allocations: 0 / 0.8766 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.7119, allocations: 0 / 0.8766 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.7119, allocations: 0 / 0.8766 GB, free: 9.426 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 (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 7.24e-05/0.712, allocations: 105 kB / 0.8767 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.712, allocations: 7.953 kB / 0.8767 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.7122, allocations: 68.86 kB / 0.8767 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7122, allocations: 0 / 0.8767 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7122, allocations: 0 / 0.8767 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7122, allocations: 0 / 0.8767 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.7123, allocations: 165.6 kB / 0.8769 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7124, allocations: 0 / 0.8769 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.7124, allocations: 4.422 kB / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.7124, allocations: 7.953 kB / 0.8769 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7124, allocations: 0 / 0.8769 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7124, allocations: 3.984 kB / 0.8769 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7124, allocations: 4 kB / 0.8769 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.7126, allocations: 77.11 kB / 0.877 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.7126, allocations: 89.05 kB / 0.8771 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.7127, allocations: 11.89 kB / 0.8771 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.7127, allocations: 4.547 kB / 0.8771 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.7128, allocations: 4 kB / 0.8771 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.7128, allocations: 0 / 0.8771 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.7128, allocations: 83.28 kB / 0.8772 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7128, allocations: 0 / 0.8772 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002189/0.713, allocations: 43.92 kB / 0.8772 GB, free: 8.664 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 (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.0005/0.7135, allocations: 0.6398 MB / 0.8778 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.7136, allocations: 27.94 kB / 0.8779 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7137, allocations: 0 / 0.8779 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.7137, allocations: 12 kB / 0.8779 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.7139, allocations: 15.88 kB / 0.8779 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.7142, allocations: 110.8 kB / 0.878 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.7145, allocations: 0.6848 MB / 0.8787 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.7146, allocations: 8 kB / 0.8787 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.7146, allocations: 7.438 kB / 0.8787 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of SimCode: time 7.22e-07/0.7146, allocations: 0 / 0.8787 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.7276, allocations: 1.635 MB / 0.8803 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.7278, allocations: 176.2 kB / 0.8804 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.433, allocations: 0 / 0.8804 GB, free: 5.391 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)