Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001175/0.001175, allocations: 190.3 kB / 371.8 MB, free: 10.29 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.818/1.818, allocations: 205.4 MB / 0.6305 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008685/0.0008685, allocations: 98.8 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 12.09 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7106/0.9165, allocations: 139.2 MB / 1.115 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.9167, allocations: 89.78 kB / 1.116 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008422/0.9251, allocations: 2.839 MB / 1.118 GB, free: 31.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9252, allocations: 0 / 1.118 GB, free: 31.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9252, allocations: 0 / 1.118 GB, free: 31.94 MB / 0.698 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.0003775/0.9256, allocations: 364.2 kB / 1.119 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9256, allocations: 11.67 kB / 1.119 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.9257, allocations: 34.44 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.926, allocations: 28.67 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.9262, allocations: 180.6 kB / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.9262, allocations: 0 / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.9262, allocations: 3.812 kB / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.9264, allocations: 51.8 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9264, allocations: 0 / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9264, allocations: 6.812 kB / 1.119 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9264, allocations: 0 / 1.119 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.9266, allocations: 33.08 kB / 1.119 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.9267, allocations: 168.2 kB / 1.119 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.927, allocations: 65.95 kB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.9271, allocations: 4 kB / 1.119 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.9271, allocations: 36.52 kB / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.9271, allocations: 0 / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.003728/0.9308, allocations: 0.5728 MB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.9309, allocations: 55.41 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.931, allocations: 94.77 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.931, allocations: 25.7 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.931, allocations: 80.14 kB / 1.12 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.9311, allocations: 33.19 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.9311, allocations: 0 / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9312, allocations: 317.7 kB / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.9314, allocations: 41.78 kB / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.9315, allocations: 38.19 kB / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.9316, allocations: 38.42 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.9316, allocations: 0 / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003201/0.932, allocations: 130.4 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.932, allocations: 3.844 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.932, allocations: 3.844 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.932, allocations: 0 / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.9323, allocations: 23.72 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.9323, allocations: 0 / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.9324, allocations: 10.59 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.9325, allocations: 6.219 kB / 1.121 GB, free: 30.08 MB / 0.698 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 8.802e-05/0.9326, allocations: 113.4 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.9326, allocations: 3.688 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.9327, allocations: 18.22 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9327, allocations: 4 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9327, allocations: 0 / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9327, allocations: 3.141 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.9328, allocations: 190.7 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9328, allocations: 336 / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.9331, allocations: 26.67 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9331, allocations: 0 / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.9331, allocations: 6.453 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9331, allocations: 4 kB / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9331, allocations: 0 / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.9336, allocations: 203.8 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.9337, allocations: 81.02 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.9337, allocations: 0 / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.9339, allocations: 13.69 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.9339, allocations: 3.094 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.9339, allocations: 6.562 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.934, allocations: 79.22 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.934, allocations: 160 / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002682/0.9343, allocations: 45.94 kB / 1.121 GB, free: 29.48 MB / 0.698 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.0008551/0.9351, allocations: 0.7629 MB / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.9355, allocations: 91.31 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9355, allocations: 0 / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.9356, allocations: 47.69 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.9358, allocations: 11.81 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.937, allocations: 0.5175 MB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.9373, allocations: 0.6873 MB / 1.124 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002412/0.9375, allocations: 31.78 kB / 1.124 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.9376, allocations: 17.56 kB / 1.124 GB, free: 27.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.9376, allocations: 3.812 kB / 1.124 GB, free: 27.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.9528, allocations: 2.258 MB / 1.126 GB, free: 27.63 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.9531, allocations: 255.5 kB / 1.126 GB, free: 27.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.64, allocations: 2.438 kB / 1.126 GB, free: 27.34 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)