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.512/1.512, allocations: 251.9 MB / 266.9 MB, free: 11 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.001406/0.001406, allocations: 176.8 kB / 326.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.5775 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.0009019/0.0009019, allocations: 91.84 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003987, allocations: 10.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001368/0.2486, allocations: 1.005 MB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000905/0.2495, allocations: 0.5844 MB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.2496, allocations: 0 / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.2496, allocations: 4 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.2497, allocations: 7.984 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.2502, allocations: 87.73 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.2502, allocations: 23.84 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.2503, allocations: 3.984 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.2503, allocations: 12 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.2504, allocations: 7.984 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2504, allocations: 0 / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.2507, allocations: 159.8 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.2507, allocations: 7.984 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.2508, allocations: 33.64 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.251, allocations: 60.16 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.251, allocations: 0 / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.251, allocations: 0 / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.251, allocations: 0 / 0.9021 GB, free: 61.8 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.0004367/0.2514, allocations: 355.3 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2515, allocations: 12.03 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.2515, allocations: 38.55 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.252, allocations: 23.97 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.2521, allocations: 167 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2521, allocations: 0 / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2521, allocations: 0 / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2523, allocations: 65.64 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2523, allocations: 0 / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2524, allocations: 0 / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2524, allocations: 4 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.2525, allocations: 27.91 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.2527, allocations: 177.4 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.2529, allocations: 66.58 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.253, allocations: 0 / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.253, allocations: 30.56 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.253, allocations: 0 / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.003105/0.2561, allocations: 0.5838 MB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2562, allocations: 51.41 kB / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.2562, allocations: 93.86 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2562, allocations: 25.7 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.2563, allocations: 84.27 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.2563, allocations: 27.64 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.2563, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.2564, allocations: 318.8 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2565, allocations: 35.97 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2566, allocations: 39.95 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2568, allocations: 43.97 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2568, allocations: 0 / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002889/0.2571, allocations: 117.6 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2571, allocations: 6.969 kB / 0.9044 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.2571, allocations: 7.938 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2571, allocations: 0 / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.2573, allocations: 23.97 kB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2573, allocations: 0 / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2575, allocations: 8 kB / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2575, allocations: 7.984 kB / 0.9044 GB, free: 59.12 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 6.452e-05/0.2576, allocations: 109.8 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.2576, allocations: 12 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.2577, allocations: 3.969 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2577, allocations: 0 / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2577, allocations: 4 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2577, allocations: 3.984 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.2578, allocations: 187.5 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2578, allocations: 7.984 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.258, allocations: 19.97 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.258, allocations: 3.938 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2581, allocations: 4 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2581, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2581, allocations: 8 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.2585, allocations: 197.1 kB / 0.905 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.2586, allocations: 77.11 kB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2586, allocations: 8.031 kB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2588, allocations: 12.05 kB / 0.9051 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.2588, allocations: 4 kB / 0.9051 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2588, allocations: 7.984 kB / 0.9051 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.2589, allocations: 75.28 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2589, allocations: 0 / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002393/0.2591, allocations: 32 kB / 0.9052 GB, free: 58.26 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.0007028/0.2598, allocations: 0.7607 MB / 0.9059 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.2602, allocations: 87.98 kB / 0.906 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2602, allocations: 0 / 0.906 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2603, allocations: 51.89 kB / 0.9061 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.2605, allocations: 9.969 kB / 0.9061 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2616, allocations: 0.5159 MB / 0.9066 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.2618, allocations: 0.6809 MB / 0.9072 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.262, allocations: 32.08 kB / 0.9073 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.2621, allocations: 19.42 kB / 0.9073 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2621, allocations: 0 / 0.9073 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.2755, allocations: 2.229 MB / 0.9095 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.2758, allocations: 244.2 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.94, allocations: 0 / 0.9097 GB, free: 53.68 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)