Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_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.8792/0.8792, allocations: 141.8 MB / 149.3 MB, free: 9.18 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.00153/0.00153, allocations: 184.8 kB / 182.2 MB, free: 9.414 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.562/1.562, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.000965/0.0009649, allocations: 91.98 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 288.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.289e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.492, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.6413, allocations: 108.9 MB / 0.8638 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.6416, allocations: 75.95 kB / 0.8639 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00545/0.6471, allocations: 1.802 MB / 0.8657 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6471, allocations: 4 kB / 0.8657 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6471, allocations: 3.938 kB / 0.8657 GB, free: 0.9453 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003076/0.6474, allocations: 338.5 kB / 0.866 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6475, allocations: 11.97 kB / 0.866 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.6478, allocations: 23.97 kB / 0.866 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.6479, allocations: 163.1 kB / 0.8662 GB, free: 344 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.648, allocations: 11.95 kB / 0.8662 GB, free: 332 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.648, allocations: 3.938 kB / 0.8662 GB, free: 328 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.887e-05/0.6481, allocations: 12 kB / 0.8662 GB, free: 316 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.6482, allocations: 41.67 kB / 0.8662 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.6482, allocations: 0 / 0.8662 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6482, allocations: 0 / 0.8662 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.6482, allocations: 3.984 kB / 0.8662 GB, free: 264 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.6484, allocations: 138.2 kB / 0.8664 GB, free: 88 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.6484, allocations: 38.55 kB / 0.8664 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.6485, allocations: 12.88 kB / 0.8664 GB, free: 24 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.6485, allocations: 0 / 0.8664 GB, free: 24 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.6485, allocations: 42.53 kB / 0.8665 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6486, allocations: 0 / 0.8665 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.6487, allocations: 49.59 kB / 0.8665 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.6488, allocations: 51.41 kB / 0.8666 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.6488, allocations: 93.03 kB / 0.8667 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.6489, allocations: 25.7 kB / 0.8667 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.6489, allocations: 80.14 kB / 0.8668 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.6489, allocations: 7.938 kB / 0.8668 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.6489, allocations: 4 kB / 0.8668 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6491, allocations: 314.8 kB / 0.8671 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.6491, allocations: 4 kB / 0.8671 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.6491, allocations: 11.94 kB / 0.8671 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.6491, allocations: 12.05 kB / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6491, allocations: 0 / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.626e-05/0.6492, allocations: 49.59 kB / 0.8671 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6493, allocations: 7.953 kB / 0.8671 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6493, allocations: 0 / 0.8671 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6493, allocations: 4 kB / 0.8672 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.6494, allocations: 7.984 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6494, allocations: 3.938 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.6495, allocations: 0 / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.6495, allocations: 16.02 kB / 0.8672 GB, free: 15.2 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 6.902e-05/0.6496, allocations: 101 kB / 0.8673 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.593e-05/0.6497, allocations: 49.62 kB / 0.8673 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.6497, allocations: 7.953 kB / 0.8673 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.6497, allocations: 3.75 kB / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.6497, allocations: 0 / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6497, allocations: 3.984 kB / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.6497, allocations: 4.031 kB / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.6498, allocations: 142.2 kB / 0.8675 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6499, allocations: 0 / 0.8675 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.6499, allocations: 7.984 kB / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.6499, allocations: 7.953 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.65, allocations: 0 / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.65, allocations: 0 / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.65, allocations: 4 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.6501, allocations: 73.11 kB / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.6502, allocations: 89.02 kB / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.6502, allocations: 3.953 kB / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.6503, allocations: 3.984 kB / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.6503, allocations: 7.938 kB / 0.8677 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.6503, allocations: 0 / 0.8677 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.6503, allocations: 75.28 kB / 0.8677 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6503, allocations: 4 kB / 0.8677 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001861/0.6505, allocations: 12 kB / 0.8678 GB, free: 14.52 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.0003865/0.6509, allocations: 0.632 MB / 0.8684 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.651, allocations: 15.98 kB / 0.8684 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.651, allocations: 0 / 0.8684 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.6511, allocations: 20.03 kB / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.6512, allocations: 11.94 kB / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.6516, allocations: 91.61 kB / 0.8685 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.6518, allocations: 0.6768 MB / 0.8692 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.51e-05/0.6519, allocations: 12 kB / 0.8692 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.652, allocations: 19.42 kB / 0.8692 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.652, allocations: 0 / 0.8692 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.6705, allocations: 1.036 MB / 0.8702 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.6708, allocations: 180.8 kB / 0.8704 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.189, allocations: 5.406 kB / 0.8704 GB, free: 11.73 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)