Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5694/0.5694, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 102.2 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.849e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5006/0.6479, allocations: 101.8 MB / 0.653 GB, free: 8.445 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.6482, allocations: 82.38 kB / 0.6531 GB, free: 8.398 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006012/0.6542, allocations: 1.801 MB / 0.6549 GB, free: 6.828 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6543, allocations: 0 / 0.6549 GB, free: 6.828 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.6543, allocations: 4 kB / 0.6549 GB, free: 6.824 MB / 458.7 MB 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.0003473/0.6547, allocations: 342.6 kB / 0.6552 GB, free: 6.449 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6547, allocations: 8.031 kB / 0.6552 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.6551, allocations: 31.83 kB / 0.6552 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.6552, allocations: 167 kB / 0.6554 GB, free: 6.207 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6553, allocations: 4 kB / 0.6554 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.6553, allocations: 0 / 0.6554 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.306e-05/0.6554, allocations: 11.81 kB / 0.6554 GB, free: 6.195 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.6554, allocations: 41.67 kB / 0.6555 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6555, allocations: 3.938 kB / 0.6555 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6555, allocations: 0 / 0.6555 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.6555, allocations: 3.953 kB / 0.6555 GB, free: 6.141 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.6557, allocations: 133.5 kB / 0.6556 GB, free: 5.977 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.805e-05/0.6558, allocations: 32.97 kB / 0.6556 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.6558, allocations: 19.42 kB / 0.6556 GB, free: 5.926 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.6558, allocations: 0 / 0.6556 GB, free: 5.926 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.6558, allocations: 38.55 kB / 0.6557 GB, free: 5.879 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.6559, allocations: 2.625 kB / 0.6557 GB, free: 5.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.656, allocations: 45 kB / 0.6557 GB, free: 5.832 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.6561, allocations: 55.34 kB / 0.6558 GB, free: 5.766 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.6561, allocations: 92.56 kB / 0.6559 GB, free: 5.672 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.6562, allocations: 25.7 kB / 0.6559 GB, free: 5.641 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.6562, allocations: 80.14 kB / 0.656 GB, free: 5.559 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.6563, allocations: 11.88 kB / 0.656 GB, free: 5.547 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.6563, allocations: 0 / 0.656 GB, free: 5.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6564, allocations: 326.3 kB / 0.6563 GB, free: 5.223 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.6564, allocations: 4 kB / 0.6563 GB, free: 5.219 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.6564, allocations: 7.562 kB / 0.6563 GB, free: 5.215 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.6565, allocations: 7.984 kB / 0.6563 GB, free: 5.207 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6565, allocations: 0 / 0.6563 GB, free: 5.207 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.325e-05/0.6566, allocations: 48.5 kB / 0.6564 GB, free: 5.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6566, allocations: 4 kB / 0.6564 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6566, allocations: 4.094 kB / 0.6564 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6566, allocations: 192 / 0.6564 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.6568, allocations: 11.98 kB / 0.6564 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6568, allocations: 0.7031 kB / 0.6564 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.6568, allocations: 0 / 0.6564 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.6569, allocations: 7.984 kB / 0.6564 GB, free: 5.133 MB / 458.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.592e-05/0.6569, allocations: 108.9 kB / 0.6565 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.412e-05/0.657, allocations: 48.94 kB / 0.6565 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.6571, allocations: 11.92 kB / 0.6565 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.6571, allocations: 15.12 kB / 0.6566 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6571, allocations: 0 / 0.6566 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6571, allocations: 0 / 0.6566 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6571, allocations: 3.984 kB / 0.6566 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.6572, allocations: 138 kB / 0.6567 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6573, allocations: 0 / 0.6567 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.6573, allocations: 4 kB / 0.6567 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6573, allocations: 7.984 kB / 0.6567 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.6574, allocations: 4 kB / 0.6567 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6574, allocations: 0 / 0.6567 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6574, allocations: 0 / 0.6567 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.6575, allocations: 75.64 kB / 0.6568 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.6576, allocations: 88.59 kB / 0.6569 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.6576, allocations: 0 / 0.6569 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.6577, allocations: 10.02 kB / 0.6569 GB, free: 4.562 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.6577, allocations: 4 kB / 0.6569 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.6577, allocations: 0 / 0.6569 GB, free: 4.559 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.6578, allocations: 75.28 kB / 0.6569 GB, free: 4.484 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6578, allocations: 0 / 0.6569 GB, free: 4.484 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.658, allocations: 16 kB / 0.657 GB, free: 4.469 MB / 458.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.0005109/0.6585, allocations: 0.6306 MB / 0.6576 GB, free: 3.812 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.6586, allocations: 26.48 kB / 0.6576 GB, free: 3.793 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6586, allocations: 0 / 0.6576 GB, free: 3.793 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.6586, allocations: 4 kB / 0.6576 GB, free: 3.789 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.6588, allocations: 15.47 kB / 0.6576 GB, free: 3.777 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.6592, allocations: 89.81 kB / 0.6577 GB, free: 3.652 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.6595, allocations: 0.6806 MB / 0.6584 GB, free: 2.945 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.209e-05/0.6596, allocations: 11.94 kB / 0.6584 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.6596, allocations: 15.42 kB / 0.6584 GB, free: 2.918 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6596, allocations: 0 / 0.6584 GB, free: 2.918 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.6806, allocations: 1.037 MB / 0.6594 GB, free: 1.898 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.6809, allocations: 163 kB / 0.6596 GB, free: 1.703 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.202, allocations: 0 / 0.6596 GB, free: 1.703 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)