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.8292/0.8292, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001071/0.001072, allocations: 180 kB / 182.2 MB, free: 9.465 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.437/1.437, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009413/0.0009414, allocations: 96.05 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001799, allocations: 279.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.03e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.434, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5805, allocations: 109.6 MB / 0.8645 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5808, allocations: 75.95 kB / 0.8646 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008238/0.5891, allocations: 2.697 MB / 0.8672 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5891, allocations: 4 kB / 0.8672 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5891, allocations: 0 / 0.8672 GB, free: 15.38 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.0003544/0.5895, allocations: 362.3 kB / 0.8676 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5895, allocations: 8.031 kB / 0.8676 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.5896, allocations: 8 kB / 0.8676 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5897, allocations: 163 kB / 0.8677 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.5898, allocations: 33.69 kB / 0.8678 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.5898, allocations: 0 / 0.8678 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.74e-05/0.5899, allocations: 12 kB / 0.8678 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.285e-05/0.59, allocations: 37.69 kB / 0.8678 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.59, allocations: 4 kB / 0.8678 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.59, allocations: 3.984 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.59, allocations: 3.938 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.5902, allocations: 138.2 kB / 0.868 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.5903, allocations: 42.52 kB / 0.868 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.5904, allocations: 12.81 kB / 0.868 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.5906, allocations: 186.3 kB / 0.8682 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.5907, allocations: 34.56 kB / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.5907, allocations: 0 / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004589/0.5911, allocations: 89.62 kB / 0.8683 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5912, allocations: 55.41 kB / 0.8684 GB, free: 14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.5913, allocations: 92.94 kB / 0.8684 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5913, allocations: 29.64 kB / 0.8685 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.5913, allocations: 84.12 kB / 0.8686 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.5914, allocations: 19.75 kB / 0.8686 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.5914, allocations: 0 / 0.8686 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5915, allocations: 310.8 kB / 0.8689 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.5915, allocations: 8 kB / 0.8689 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.5915, allocations: 4 kB / 0.8689 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.5918, allocations: 59.92 kB / 0.8689 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5919, allocations: 4 kB / 0.8689 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003488/0.5922, allocations: 89.62 kB / 0.869 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5922, allocations: 13.36 kB / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5923, allocations: 0 / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5923, allocations: 0 / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.5923, allocations: 4 kB / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5923, allocations: 3.75 kB / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.5924, allocations: 7.984 kB / 0.8691 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.5924, allocations: 4 kB / 0.8691 GB, free: 13.25 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.307e-05/0.5925, allocations: 104.9 kB / 0.8692 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003514/0.5928, allocations: 97.62 kB / 0.8692 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.5929, allocations: 11.86 kB / 0.8693 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.5933, allocations: 105.7 kB / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5933, allocations: 0 / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5933, allocations: 0 / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5933, allocations: 0 / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.5934, allocations: 142.2 kB / 0.8695 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5934, allocations: 480 / 0.8695 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.5935, allocations: 8 kB / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5935, allocations: 0 / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.5935, allocations: 3.953 kB / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5935, allocations: 0 / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5935, allocations: 0 / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.5939, allocations: 121 kB / 0.8696 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.594, allocations: 89.09 kB / 0.8697 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.594, allocations: 0 / 0.8697 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.594, allocations: 11.89 kB / 0.8697 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.5941, allocations: 3.984 kB / 0.8697 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.5941, allocations: 3.938 kB / 0.8697 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.5942, allocations: 79.28 kB / 0.8698 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5942, allocations: 0 / 0.8698 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002448/0.5944, allocations: 39.94 kB / 0.8698 GB, free: 12.35 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.0007831/0.5952, allocations: 0.702 MB / 0.8705 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.5953, allocations: 16 kB / 0.8705 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5953, allocations: 0 / 0.8705 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.5953, allocations: 15.94 kB / 0.8706 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.5955, allocations: 19.22 kB / 0.8706 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.5959, allocations: 101.6 kB / 0.8707 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.5961, allocations: 0.6807 MB / 0.8713 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.5962, allocations: 4 kB / 0.8713 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.5962, allocations: 11.44 kB / 0.8714 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5962, allocations: 0 / 0.8714 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.6174, allocations: 1.35 MB / 0.8727 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.6178, allocations: 164.3 kB / 0.8728 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.211, allocations: 0 / 0.8728 GB, free: 9.188 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)