Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 289.9 MB / 297.4 MB, free: 6.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 188.8 kB / 366.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008588/0.0008588, allocations: 84.2 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.926e-05, allocations: 12 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.787, allocations: 116.3 MB / 0.9734 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/1.007, allocations: 139.5 MB / 1.11 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.008, allocations: 91.92 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008992/1.017, allocations: 2.829 MB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/1.017, allocations: 1.312 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.017, allocations: 4 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB 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.0004078/1.017, allocations: 352.2 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.017, allocations: 8.031 kB / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/1.018, allocations: 29.06 kB / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/1.018, allocations: 163.8 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.018, allocations: 0 / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/1.018, allocations: 9.281 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.974e-05/1.018, allocations: 19.98 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/1.018, allocations: 53.59 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.018, allocations: 1.062 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.018, allocations: 0 / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.018, allocations: 3.938 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/1.018, allocations: 144 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/1.018, allocations: 50.59 kB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/1.019, allocations: 30.31 kB / 1.113 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/1.019, allocations: 0 / 1.113 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.019, allocations: 34.56 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/1.019, allocations: 0.75 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001657/1.02, allocations: 426.1 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.02, allocations: 51.41 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/1.02, allocations: 92.98 kB / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/1.02, allocations: 25.7 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/1.021, allocations: 80.14 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/1.021, allocations: 23.66 kB / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/1.021, allocations: 0 / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.021, allocations: 318.2 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/1.021, allocations: 27.98 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/1.021, allocations: 31.92 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.371e-05/1.021, allocations: 23.98 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.021, allocations: 4 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002498/1.021, allocations: 104.7 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.021, allocations: 4 kB / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.021, allocations: 4 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.021, allocations: 0 / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/1.021, allocations: 27.95 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.022, allocations: 4 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/1.022, allocations: 4 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/1.022, allocations: 6.047 kB / 1.114 GB, free: 5.43 MB / 0.7136 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 (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.0001237/1.022, allocations: 104.9 kB / 1.115 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000211/1.022, allocations: 105.6 kB / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/1.022, allocations: 3.906 kB / 1.115 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.679e-05/1.022, allocations: 15.47 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.022, allocations: 4 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.022, allocations: 0 / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.022, allocations: 0 / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/1.022, allocations: 170.6 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.022, allocations: 0 / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/1.023, allocations: 27.97 kB / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.023, allocations: 0 / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/1.023, allocations: 7.984 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/1.023, allocations: 2.312 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.023, allocations: 0 / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/1.023, allocations: 165 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/1.023, allocations: 77.11 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/1.023, allocations: 3.984 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/1.023, allocations: 14.16 kB / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/1.023, allocations: 11.98 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/1.023, allocations: 0 / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.925e-05/1.023, allocations: 83.27 kB / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.8e-07/1.023, allocations: 0 / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002928/1.024, allocations: 32 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB 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.0008267/1.025, allocations: 0.7334 MB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001914/1.025, allocations: 71.95 kB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.025, allocations: 0 / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.155e-05/1.025, allocations: 39.92 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/1.025, allocations: 4.062 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/1.026, allocations: 152.7 kB / 1.116 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/1.026, allocations: 0.6814 MB / 1.117 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002513/1.027, allocations: 27.28 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/1.027, allocations: 23.41 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of SimCode: time 4.388e-06/1.027, allocations: 0 / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/1.05, allocations: 1.936 MB / 1.119 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.051, allocations: 200.7 kB / 1.119 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.692, allocations: 1.453 kB / 1.119 GB, free: 0.5898 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)