Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001001/0.001001, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.461/0.461, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.3 MB / 348.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009003/0.0009001, allocations: 92.16 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.2e-05, allocations: 4 kB / 0.4897 GB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3578, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5012, allocations: 102.7 MB / 0.6607 GB, free: 1.555 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5014, allocations: 85.81 kB / 0.6607 GB, free: 1.473 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008301/0.5097, allocations: 2.892 MB / 0.6636 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5098, allocations: 4 kB / 0.6636 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.5098, allocations: 0 / 0.6636 GB, free: 14.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003392/0.5101, allocations: 346.4 kB / 0.6639 GB, free: 14.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5102, allocations: 15.98 kB / 0.6639 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.5103, allocations: 34.56 kB / 0.6639 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.5106, allocations: 35.81 kB / 0.664 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.5107, allocations: 167.1 kB / 0.6641 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.5107, allocations: 0 / 0.6641 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.5108, allocations: 4 kB / 0.6641 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.5109, allocations: 54.17 kB / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5109, allocations: 0 / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5109, allocations: 0 / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5109, allocations: 3.953 kB / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.511, allocations: 19.98 kB / 0.6642 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.5112, allocations: 173.6 kB / 0.6644 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.5114, allocations: 62.55 kB / 0.6644 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.5114, allocations: 16.86 kB / 0.6645 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.5115, allocations: 9.234 kB / 0.6645 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5115, allocations: 34.56 kB / 0.6645 GB, free: 13.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5115, allocations: 0 / 0.6645 GB, free: 13.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.002818/0.5143, allocations: 0.5134 MB / 0.665 GB, free: 12.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.5144, allocations: 51.41 kB / 0.6651 GB, free: 12.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.5145, allocations: 90.69 kB / 0.6651 GB, free: 12.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5145, allocations: 25.7 kB / 0.6652 GB, free: 12.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.5145, allocations: 84.08 kB / 0.6652 GB, free: 12.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.5146, allocations: 27.64 kB / 0.6653 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.5146, allocations: 4.125 kB / 0.6653 GB, free: 12.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5147, allocations: 314.8 kB / 0.6656 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.123e-05/0.5148, allocations: 27.98 kB / 0.6656 GB, free: 12.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.5149, allocations: 35.97 kB / 0.6656 GB, free: 12.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/0.515, allocations: 23.98 kB / 0.6657 GB, free: 12.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.515, allocations: 0 / 0.6657 GB, free: 12.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002098/0.5152, allocations: 109.6 kB / 0.6658 GB, free: 12.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5152, allocations: 4 kB / 0.6658 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5152, allocations: 0 / 0.6658 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5153, allocations: 0 / 0.6658 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.5155, allocations: 27.97 kB / 0.6658 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5155, allocations: 3.953 kB / 0.6658 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.5156, allocations: 7.984 kB / 0.6658 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.5156, allocations: 11.98 kB / 0.6658 GB, free: 12.03 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 (7): * Single equations (assignments): 7 * 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.078e-05/0.5157, allocations: 102.9 kB / 0.6659 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.5157, allocations: 7.906 kB / 0.6659 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.5158, allocations: 12.09 kB / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5158, allocations: 0 / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5158, allocations: 0 / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5158, allocations: 3.953 kB / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.516, allocations: 188.8 kB / 0.6661 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.516, allocations: 3.938 kB / 0.6661 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.5162, allocations: 27.97 kB / 0.6661 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5162, allocations: 0 / 0.6661 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5163, allocations: 3.984 kB / 0.6662 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5163, allocations: 4 kB / 0.6662 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5163, allocations: 0 / 0.6662 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.5166, allocations: 171.7 kB / 0.6663 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.5166, allocations: 81.14 kB / 0.6664 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.5167, allocations: 13.73 kB / 0.6664 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.5168, allocations: 8 kB / 0.6664 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.5169, allocations: 3.984 kB / 0.6664 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.5169, allocations: 7.938 kB / 0.6664 GB, free: 11.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.106e-05/0.5169, allocations: 83.2 kB / 0.6665 GB, free: 11.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5169, allocations: 0 / 0.6665 GB, free: 11.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.5172, allocations: 43.95 kB / 0.6666 GB, free: 11.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006852/0.5178, allocations: 0.7335 MB / 0.6673 GB, free: 10.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.518, allocations: 75.89 kB / 0.6673 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.518, allocations: 0 / 0.6673 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.5181, allocations: 35.98 kB / 0.6674 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.5183, allocations: 12.81 kB / 0.6674 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.5189, allocations: 152.5 kB / 0.6675 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.5191, allocations: 0.6848 MB / 0.6682 GB, free: 9.402 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.5193, allocations: 29.36 kB / 0.6682 GB, free: 9.379 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.5194, allocations: 23.41 kB / 0.6683 GB, free: 9.359 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5194, allocations: 0 / 0.6683 GB, free: 9.359 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.5322, allocations: 2.263 MB / 0.6705 GB, free: 7.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.5325, allocations: 202.2 kB / 0.6707 GB, free: 7.098 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.974, allocations: 3.938 kB / 0.6707 GB, free: 7.094 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)