Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",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.7643/0.7643, 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.001219/0.001219, allocations: 182.6 kB / 187.3 MB, free: 11.9 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.488/1.488, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009699/0.00097, allocations: 95.14 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001839/0.001839, allocations: 268.2 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.757e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4885, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.6148, allocations: 110 MB / 0.8718 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.6151, allocations: 79.89 kB / 0.8719 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006436/0.6216, allocations: 1.985 MB / 0.8738 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6216, allocations: 0 / 0.8738 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6216, allocations: 0 / 0.8738 GB, free: 12.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003913/0.622, allocations: 362.4 kB / 0.8741 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.6221, allocations: 12.03 kB / 0.8741 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.6221, allocations: 30.56 kB / 0.8742 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.6225, allocations: 19.97 kB / 0.8742 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.6226, allocations: 175 kB / 0.8744 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.6226, allocations: 0 / 0.8744 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.6227, allocations: 4 kB / 0.8744 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.6228, allocations: 49.67 kB / 0.8744 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.6228, allocations: 4 kB / 0.8744 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.6228, allocations: 0 / 0.8744 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6228, allocations: 0 / 0.8744 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.6229, allocations: 23.98 kB / 0.8744 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.6234, allocations: 272.8 kB / 0.8747 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.6235, allocations: 38.52 kB / 0.8747 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.6236, allocations: 24.91 kB / 0.8748 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.6236, allocations: 0 / 0.8748 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6236, allocations: 30.56 kB / 0.8748 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.6236, allocations: 0 / 0.8748 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.6238, allocations: 53.69 kB / 0.8748 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.6239, allocations: 55.34 kB / 0.8749 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.6239, allocations: 97.02 kB / 0.875 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.624, allocations: 25.7 kB / 0.875 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.624, allocations: 88.14 kB / 0.8751 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.6241, allocations: 7.891 kB / 0.8751 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.6241, allocations: 0 / 0.8751 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6242, allocations: 314.8 kB / 0.8754 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.6242, allocations: 12 kB / 0.8754 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.6243, allocations: 15.92 kB / 0.8754 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.6243, allocations: 12.06 kB / 0.8754 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6243, allocations: 3.938 kB / 0.8754 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.6244, allocations: 57.67 kB / 0.8755 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6244, allocations: 8 kB / 0.8755 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6245, allocations: 0 / 0.8755 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6245, allocations: 0 / 0.8755 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.6246, allocations: 15.92 kB / 0.8755 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6246, allocations: 0 / 0.8755 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.6247, allocations: 16.02 kB / 0.8755 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.6248, allocations: 4 kB / 0.8755 GB, free: 10.48 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 (2): * Single equations (assignments): 2 * 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.352e-05/0.6248, allocations: 108.9 kB / 0.8756 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.6249, allocations: 7.891 kB / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.6249, allocations: 7.125 kB / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6249, allocations: 0 / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6249, allocations: 4 kB / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.625, allocations: 0 / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.6251, allocations: 173.5 kB / 0.8758 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6251, allocations: 4 kB / 0.8758 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.6252, allocations: 16.17 kB / 0.8758 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6253, allocations: 3.984 kB / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6253, allocations: 4 kB / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6253, allocations: 0 / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6253, allocations: 3.984 kB / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.6255, allocations: 155.4 kB / 0.876 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.6255, allocations: 81.09 kB / 0.8761 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6255, allocations: 0 / 0.8761 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.6257, allocations: 11.98 kB / 0.8761 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.6257, allocations: 4 kB / 0.8761 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.6257, allocations: 4 kB / 0.8761 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.6258, allocations: 83.31 kB / 0.8762 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6258, allocations: 0 / 0.8762 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000214/0.626, allocations: 19.98 kB / 0.8762 GB, free: 9.719 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 (2): * Single equations (assignments): 2 * 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.0004726/0.6265, allocations: 0.689 MB / 0.8769 GB, free: 9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.6266, allocations: 35.95 kB / 0.8769 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6266, allocations: 0 / 0.8769 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.6266, allocations: 12 kB / 0.8769 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.6268, allocations: 11.86 kB / 0.8769 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.6272, allocations: 110.6 kB / 0.877 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.6276, allocations: 0.6772 MB / 0.8777 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.013e-05/0.6277, allocations: 12 kB / 0.8777 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.6277, allocations: 11.42 kB / 0.8777 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6277, allocations: 4 kB / 0.8777 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.64, allocations: 1.399 MB / 0.8791 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.6403, allocations: 170.7 kB / 0.8793 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.232, allocations: 0 / 0.8793 GB, free: 6.625 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)