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.8463/0.8463, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.00119/0.001191, allocations: 184.8 kB / 182.2 MB, free: 9.43 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.5 MB / 436.4 MB, free: 13.28 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.001024/0.001024, allocations: 88.05 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 281.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.034e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.493, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.6486, allocations: 109.3 MB / 0.8642 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.6489, allocations: 79.89 kB / 0.8643 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006907/0.6559, allocations: 1.984 MB / 0.8662 GB, free: 388 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6559, allocations: 3.938 kB / 0.8662 GB, free: 384 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.6559, allocations: 0 / 0.8662 GB, free: 384 kB / 0.5261 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.0004077/0.6564, allocations: 354.4 kB / 0.8666 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6564, allocations: 8.031 kB / 0.8666 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.6568, allocations: 31.97 kB / 0.8666 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.6569, allocations: 163.1 kB / 0.8668 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6569, allocations: 3.953 kB / 0.8668 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.6569, allocations: 4 kB / 0.8668 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.568e-05/0.657, allocations: 12 kB / 0.8668 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.6571, allocations: 53.66 kB / 0.8668 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6572, allocations: 3.938 kB / 0.8668 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6572, allocations: 0 / 0.8668 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6572, allocations: 4 kB / 0.8668 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.6577, allocations: 253.4 kB / 0.8671 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.6577, allocations: 38.56 kB / 0.8671 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.6578, allocations: 12.92 kB / 0.8671 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.6578, allocations: 4 kB / 0.8671 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.6578, allocations: 38.55 kB / 0.8672 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6578, allocations: 0 / 0.8672 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.658, allocations: 53.62 kB / 0.8672 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.6581, allocations: 51.41 kB / 0.8673 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.6581, allocations: 96.98 kB / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.6582, allocations: 29.7 kB / 0.8674 GB, free: 15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.6582, allocations: 80.14 kB / 0.8675 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.6583, allocations: 7.891 kB / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.6583, allocations: 0 / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6584, allocations: 318.9 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.6584, allocations: 12 kB / 0.8678 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.6584, allocations: 7.938 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.6585, allocations: 15.94 kB / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6585, allocations: 0 / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.558e-05/0.6586, allocations: 53.69 kB / 0.8679 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6586, allocations: 7.938 kB / 0.8679 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6586, allocations: 1.406 kB / 0.8679 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6586, allocations: 8.094 kB / 0.8679 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.6588, allocations: 19.91 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6588, allocations: 0 / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.6589, allocations: 11.98 kB / 0.8679 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.6589, allocations: 0 / 0.8679 GB, free: 14.45 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 7.156e-05/0.659, allocations: 108.9 kB / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001023/0.6591, allocations: 61.59 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.6591, allocations: 3.984 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.6592, allocations: 3.75 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.6592, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.6592, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6592, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.6594, allocations: 158.1 kB / 0.8682 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6594, allocations: 0 / 0.8682 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.6595, allocations: 24.02 kB / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6595, allocations: 0 / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6595, allocations: 3.984 kB / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6595, allocations: 0 / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6595, allocations: 3.938 kB / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.6597, allocations: 147.5 kB / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.6597, allocations: 85.12 kB / 0.8685 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.6597, allocations: 4 kB / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.6599, allocations: 4 kB / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.6599, allocations: 7.984 kB / 0.8685 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.6599, allocations: 0 / 0.8685 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.66, allocations: 83.28 kB / 0.8686 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.66, allocations: 0 / 0.8686 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002246/0.6602, allocations: 16 kB / 0.8686 GB, free: 13.67 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.0004746/0.6607, allocations: 0.7025 MB / 0.8693 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.6608, allocations: 27.98 kB / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6608, allocations: 0 / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.6608, allocations: 12 kB / 0.8693 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.661, allocations: 12.09 kB / 0.8693 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.6615, allocations: 111 kB / 0.8694 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.6618, allocations: 0.6807 MB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.889e-05/0.6619, allocations: 4 kB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.6619, allocations: 15.44 kB / 0.8701 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6619, allocations: 3.938 kB / 0.8701 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.6822, allocations: 1.076 MB / 0.8712 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.6825, allocations: 169.4 kB / 0.8713 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.297, allocations: 4 kB / 0.8713 GB, free: 10.75 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)