Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6891/0.6891, allocations: 127.4 MB / 134.9 MB, free: 3.742 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 184.8 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.2 MB / 399.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008241, allocations: 88.58 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.958e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5815, allocations: 103.6 MB / 0.7228 GB, free: 11.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.5817, allocations: 79.38 kB / 0.7229 GB, free: 11.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006448/0.5882, allocations: 1.97 MB / 0.7248 GB, free: 9.977 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5882, allocations: 4 kB / 0.7248 GB, free: 9.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.5882, allocations: 0 / 0.7248 GB, free: 9.973 MB / 490.7 MB 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.0003976/0.5887, allocations: 358.4 kB / 0.7252 GB, free: 9.578 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5887, allocations: 8.031 kB / 0.7252 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.5891, allocations: 31.61 kB / 0.7252 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.5892, allocations: 163.1 kB / 0.7253 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5892, allocations: 2.438 kB / 0.7253 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.5892, allocations: 4 kB / 0.7254 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.221e-05/0.5893, allocations: 19.36 kB / 0.7254 GB, free: 9.328 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.109e-05/0.5894, allocations: 49.3 kB / 0.7254 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5894, allocations: 0 / 0.7254 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5895, allocations: 0 / 0.7254 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.5895, allocations: 7.953 kB / 0.7254 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.5899, allocations: 260.8 kB / 0.7257 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/0.59, allocations: 37.88 kB / 0.7257 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.5901, allocations: 14.8 kB / 0.7257 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5901, allocations: 4 kB / 0.7257 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5901, allocations: 34.5 kB / 0.7258 GB, free: 8.895 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.5901, allocations: 0 / 0.7258 GB, free: 8.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001735/0.5903, allocations: 60.88 kB / 0.7258 GB, free: 8.836 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5904, allocations: 52.44 kB / 0.7259 GB, free: 8.773 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.5904, allocations: 92.69 kB / 0.726 GB, free: 8.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5905, allocations: 25.7 kB / 0.726 GB, free: 8.648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.5905, allocations: 84.14 kB / 0.7261 GB, free: 8.562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.5905, allocations: 3.906 kB / 0.7261 GB, free: 8.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.5905, allocations: 0 / 0.7261 GB, free: 8.559 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5907, allocations: 321 kB / 0.7264 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.5907, allocations: 15.53 kB / 0.7264 GB, free: 8.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.5907, allocations: 7.625 kB / 0.7264 GB, free: 8.227 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.5908, allocations: 7.562 kB / 0.7264 GB, free: 8.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5908, allocations: 0 / 0.7264 GB, free: 8.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/0.5909, allocations: 64.92 kB / 0.7265 GB, free: 8.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5909, allocations: 4 kB / 0.7265 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.5909, allocations: 0 / 0.7265 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5909, allocations: 4 kB / 0.7265 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.5911, allocations: 16.62 kB / 0.7265 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5911, allocations: 3.953 kB / 0.7265 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.5912, allocations: 11.98 kB / 0.7265 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.5913, allocations: 3.984 kB / 0.7265 GB, free: 8.117 MB / 490.7 MB 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.448e-05/0.5913, allocations: 105 kB / 0.7266 GB, free: 8.008 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001028/0.5915, allocations: 52.88 kB / 0.7267 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.5915, allocations: 7.906 kB / 0.7267 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.5915, allocations: 11.47 kB / 0.7267 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5915, allocations: 3.953 kB / 0.7267 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5916, allocations: 0 / 0.7267 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5916, allocations: 4.797 kB / 0.7267 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.5917, allocations: 145.8 kB / 0.7268 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5917, allocations: 0 / 0.7268 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5918, allocations: 19.92 kB / 0.7268 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5919, allocations: 4 kB / 0.7268 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5919, allocations: 4 kB / 0.7269 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5919, allocations: 0 / 0.7269 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5919, allocations: 4.141 kB / 0.7269 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.592, allocations: 150.3 kB / 0.727 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.5921, allocations: 81.09 kB / 0.7271 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5921, allocations: 0 / 0.7271 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.5922, allocations: 16.02 kB / 0.7271 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.5923, allocations: 4 kB / 0.7271 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5923, allocations: 7.938 kB / 0.7271 GB, free: 7.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.218e-05/0.5923, allocations: 79.28 kB / 0.7272 GB, free: 7.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5923, allocations: 0 / 0.7272 GB, free: 7.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.5926, allocations: 16 kB / 0.7272 GB, free: 7.355 MB / 490.7 MB 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.0004355/0.593, allocations: 0.7071 MB / 0.7279 GB, free: 6.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.207e-05/0.5931, allocations: 22.94 kB / 0.7279 GB, free: 6.621 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5931, allocations: 0 / 0.7279 GB, free: 6.621 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.5932, allocations: 15.67 kB / 0.7279 GB, free: 6.609 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.5933, allocations: 7 kB / 0.7279 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.5938, allocations: 117.2 kB / 0.728 GB, free: 6.457 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.594, allocations: 0.6768 MB / 0.7287 GB, free: 5.754 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.556e-05/0.5942, allocations: 11.98 kB / 0.7287 GB, free: 5.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.5942, allocations: 15.06 kB / 0.7287 GB, free: 5.73 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5942, allocations: 0 / 0.7287 GB, free: 5.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.6119, allocations: 1.081 MB / 0.7298 GB, free: 4.656 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.6121, allocations: 160.2 kB / 0.7299 GB, free: 4.465 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.122, allocations: 0 / 0.7299 GB, free: 4.465 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)