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.001412/0.001412, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5052/0.5052, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.631/1.631, allocations: 223.2 MB / 354.3 MB, free: 12.21 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.001006/0.001006, allocations: 99.16 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 72.31 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6012/0.7593, allocations: 102.8 MB / 0.6693 GB, free: 1.621 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.7597, allocations: 91.94 kB / 0.6694 GB, free: 1.531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009617/0.7694, allocations: 2.895 MB / 0.6723 GB, free: 14.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7694, allocations: 0 / 0.6723 GB, free: 14.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.7695, allocations: 4 kB / 0.6723 GB, free: 14.65 MB / 474.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.0005293/0.77, allocations: 359.8 kB / 0.6726 GB, free: 14.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.7701, allocations: 8.031 kB / 0.6726 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.7701, allocations: 38.55 kB / 0.6726 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.7705, allocations: 27.92 kB / 0.6727 GB, free: 14.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.7707, allocations: 163.1 kB / 0.6728 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.7707, allocations: 0 / 0.6728 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.7708, allocations: 0 / 0.6728 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.771, allocations: 69.58 kB / 0.6729 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.771, allocations: 0 / 0.6729 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.771, allocations: 0 / 0.6729 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.771, allocations: 11.94 kB / 0.6729 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.7712, allocations: 23.97 kB / 0.6729 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.7714, allocations: 165.6 kB / 0.6731 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.7718, allocations: 74.52 kB / 0.6732 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.7718, allocations: 0 / 0.6732 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.7719, allocations: 30.56 kB / 0.6732 GB, free: 13.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.7719, allocations: 0 / 0.6732 GB, free: 13.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.00404/0.7759, allocations: 0.5878 MB / 0.6738 GB, free: 12.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.776, allocations: 55.36 kB / 0.6738 GB, free: 12.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.7761, allocations: 89 kB / 0.6739 GB, free: 12.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.7761, allocations: 25.7 kB / 0.6739 GB, free: 12.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.7762, allocations: 84.27 kB / 0.674 GB, free: 12.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.7762, allocations: 27.64 kB / 0.674 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.7762, allocations: 0 / 0.674 GB, free: 12.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7764, allocations: 314.8 kB / 0.6743 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.7765, allocations: 35.97 kB / 0.6744 GB, free: 12.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.7766, allocations: 39.95 kB / 0.6744 GB, free: 12.19 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.7768, allocations: 47.91 kB / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.7768, allocations: 0 / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003611/0.7772, allocations: 121.5 kB / 0.6746 GB, free: 12.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7772, allocations: 4 kB / 0.6746 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7772, allocations: 0 / 0.6746 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.7772, allocations: 11.98 kB / 0.6746 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.7775, allocations: 23.84 kB / 0.6746 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7775, allocations: 4.172 kB / 0.6746 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.7777, allocations: 11.95 kB / 0.6746 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.7777, allocations: 7.969 kB / 0.6746 GB, free: 11.96 MB / 474.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 () * Number of clocked 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 0.0001116/0.7778, allocations: 117.8 kB / 0.6747 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.7778, allocations: 0 / 0.6747 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.064e-05/0.7779, allocations: 15.97 kB / 0.6747 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7779, allocations: 0 / 0.6747 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.778, allocations: 3.984 kB / 0.6748 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.778, allocations: 0 / 0.6748 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.7782, allocations: 188.2 kB / 0.6749 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7782, allocations: 4 kB / 0.6749 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.7784, allocations: 23.97 kB / 0.675 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7784, allocations: 4 kB / 0.675 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.7785, allocations: 3.984 kB / 0.675 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7785, allocations: 0 / 0.675 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7785, allocations: 3.938 kB / 0.675 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.7791, allocations: 197 kB / 0.6752 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.7791, allocations: 81.02 kB / 0.6752 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.7792, allocations: 3.938 kB / 0.6752 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.7794, allocations: 12.08 kB / 0.6753 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.7794, allocations: 8 kB / 0.6753 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.7794, allocations: 7.984 kB / 0.6753 GB, free: 11.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.7795, allocations: 79.28 kB / 0.6753 GB, free: 11.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7795, allocations: 0 / 0.6753 GB, free: 11.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.7798, allocations: 32 kB / 0.6754 GB, free: 11.09 MB / 474.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 () * Number of clocked 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.001157/0.7809, allocations: 0.7608 MB / 0.6761 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.7813, allocations: 96.48 kB / 0.6762 GB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7813, allocations: 0 / 0.6762 GB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.7815, allocations: 47.95 kB / 0.6763 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.7817, allocations: 6.438 kB / 0.6763 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.7832, allocations: 0.534 MB / 0.6768 GB, free: 9.574 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.7836, allocations: 0.6848 MB / 0.6774 GB, free: 8.863 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.7839, allocations: 28.97 kB / 0.6775 GB, free: 8.836 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.784, allocations: 19.42 kB / 0.6775 GB, free: 8.816 MB / 474.7 MB Notification: Performance of SimCode: time 9.21e-07/0.784, allocations: 0 / 0.6775 GB, free: 8.816 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.802, allocations: 2.26 MB / 0.6797 GB, free: 6.773 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.8023, allocations: 238.9 kB / 0.6799 GB, free: 6.527 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.471, allocations: 4 kB / 0.6799 GB, free: 6.523 MB / 474.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)