Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009895/0.0009896, allocations: 180.9 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205.4 MB / 0.5777 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 97.67 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 10.12 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.263, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001458/0.2645, allocations: 1.006 MB / 0.9013 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.2655, allocations: 0.6174 MB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.2655, allocations: 0 / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.2656, allocations: 0 / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.26e-05/0.2656, allocations: 7.922 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.2662, allocations: 83.7 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.2662, allocations: 27.86 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.2663, allocations: 3.984 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.2663, allocations: 15.92 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.2664, allocations: 11.94 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2664, allocations: 4 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.2667, allocations: 151.7 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.2667, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.2668, allocations: 29.7 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.267, allocations: 68.14 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.267, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.267, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.267, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 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.0004457/0.2674, allocations: 351.3 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2675, allocations: 12.03 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.2675, allocations: 30.56 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004466/0.268, allocations: 23.97 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/0.2681, allocations: 167 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2681, allocations: 8 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.2682, allocations: 8 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.2683, allocations: 57.59 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2684, allocations: 0 / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2684, allocations: 0 / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2684, allocations: 0 / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.2685, allocations: 27.97 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.2687, allocations: 173.4 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.269, allocations: 66.52 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.2691, allocations: 36.86 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2691, allocations: 11.94 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.2692, allocations: 30.56 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.2692, allocations: 0 / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.003464/0.2726, allocations: 0.5604 MB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.2727, allocations: 55.41 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.786e-05/0.2727, allocations: 97.84 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.2728, allocations: 29.7 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/0.2728, allocations: 80.14 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.2728, allocations: 19.66 kB / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2728, allocations: 0 / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.2729, allocations: 326.9 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2731, allocations: 35.97 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.2732, allocations: 35.97 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.2733, allocations: 44.06 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2733, allocations: 0 / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000302/0.2736, allocations: 125.6 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2737, allocations: 4 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2737, allocations: 336 / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2737, allocations: 0 / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.2739, allocations: 23.97 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2739, allocations: 0 / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.2741, allocations: 11.98 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.2741, allocations: 0 / 0.9047 GB, free: 59.07 MB / 0.6042 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 () * 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 7.653e-05/0.2742, allocations: 125.7 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.2742, allocations: 3.984 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.2743, allocations: 15.97 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2743, allocations: 3.938 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2743, allocations: 0 / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2743, allocations: 0 / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.2745, allocations: 195.4 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2745, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.2747, allocations: 23.97 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2747, allocations: 3.938 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2747, allocations: 7.984 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2747, allocations: 0 / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2747, allocations: 0 / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.2752, allocations: 201 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.2753, allocations: 77.11 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.2753, allocations: 7.922 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2755, allocations: 12.03 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.2755, allocations: 3.984 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2756, allocations: 4 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.2756, allocations: 83.33 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2756, allocations: 4.094 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002397/0.2759, allocations: 24 kB / 0.9054 GB, free: 58.19 MB / 0.6042 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 () * 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.0008311/0.2767, allocations: 0.7529 MB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.277, allocations: 83.88 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.277, allocations: 4.062 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.2772, allocations: 43.95 kB / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.2775, allocations: 11.05 kB / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.2789, allocations: 0.5198 MB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2791, allocations: 0.6888 MB / 0.9075 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.2794, allocations: 27.97 kB / 0.9075 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.2795, allocations: 23.42 kB / 0.9075 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2795, allocations: 0 / 0.9075 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.2936, allocations: 2.249 MB / 0.9097 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.2939, allocations: 247 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.951, allocations: 0 / 0.9099 GB, free: 53.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)