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.862/1.862, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001471/0.001471, allocations: 192.8 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 0.6366 GB, free: 9.52 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.0009091/0.000909, allocations: 83.58 kB / 0.7509 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004686, allocations: 12 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.351, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7402/1.091, allocations: 140.2 MB / 1.125 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.092, allocations: 87.97 kB / 1.125 GB, free: 34.67 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008102/1.1, allocations: 2.85 MB / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.645e-06/1.1, allocations: 0 / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.1, allocations: 0 / 1.128 GB, free: 32.54 MB / 0.7292 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.0004118/1.1, allocations: 367 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/1.1, allocations: 12.02 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/1.1, allocations: 38.56 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/1.101, allocations: 31.84 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/1.101, allocations: 160.2 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/1.101, allocations: 0 / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/1.101, allocations: 9.203 kB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/1.101, allocations: 51.62 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/1.101, allocations: 4 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.101, allocations: 5.719 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.101, allocations: 0 / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/1.101, allocations: 31.55 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/1.101, allocations: 168.9 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/1.102, allocations: 68.17 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/1.102, allocations: 1.5 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.102, allocations: 38.56 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.102, allocations: 0 / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.003616/1.105, allocations: 0.5722 MB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.106, allocations: 58.77 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.684e-05/1.106, allocations: 89 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.106, allocations: 30.64 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/1.106, allocations: 80.14 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/1.106, allocations: 31.3 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/1.106, allocations: 8.062 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/1.106, allocations: 314.8 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/1.106, allocations: 39.12 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/1.106, allocations: 35.38 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/1.106, allocations: 40.31 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/1.106, allocations: 0 / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002977/1.106, allocations: 123.3 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.106, allocations: 9.125 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.106, allocations: 0 / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.106, allocations: 0 / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/1.107, allocations: 31.44 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.107, allocations: 0 / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/1.107, allocations: 7.656 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/1.107, allocations: 7.562 kB / 1.131 GB, free: 30.11 MB / 0.7292 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.53e-05/1.107, allocations: 113.8 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/1.107, allocations: 1.266 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/1.107, allocations: 17 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.107, allocations: 0 / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.107, allocations: 0 / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.107, allocations: 0 / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/1.107, allocations: 197.8 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.107, allocations: 0 / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/1.108, allocations: 30.36 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.108, allocations: 0 / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.108, allocations: 4.922 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.108, allocations: 0.75 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.108, allocations: 4 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/1.108, allocations: 204.8 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/1.108, allocations: 77.11 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/1.108, allocations: 8.031 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/1.108, allocations: 8.016 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/1.108, allocations: 4 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/1.108, allocations: 7.578 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.235e-05/1.109, allocations: 80.31 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 3.938 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002725/1.109, allocations: 39.47 kB / 1.131 GB, free: 29.31 MB / 0.7292 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.0008126/1.11, allocations: 0.7647 MB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003116/1.11, allocations: 88.73 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.11, allocations: 4 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/1.11, allocations: 50.33 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/1.11, allocations: 4 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/1.112, allocations: 0.5264 MB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/1.112, allocations: 0.6844 MB / 1.133 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002413/1.112, allocations: 33.45 kB / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/1.112, allocations: 14.86 kB / 1.133 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/1.112, allocations: 4 kB / 1.133 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/1.127, allocations: 2.253 MB / 1.136 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/1.127, allocations: 226.7 kB / 1.136 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.771, allocations: 7.25 kB / 1.136 GB, free: 25.8 MB / 0.7292 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)