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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009374, allocations: 97.88 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005387/0.005387, allocations: 171 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004857, allocations: 15.84 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001497/0.2337, allocations: 1.016 MB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2348, allocations: 0.6454 MB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.2349, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.2349, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.235, allocations: 11.91 kB / 0.7897 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.2354, allocations: 91.64 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.2355, allocations: 31.84 kB / 0.7898 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.2355, allocations: 4 kB / 0.7898 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.2356, allocations: 4 kB / 0.7898 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.2357, allocations: 19.92 kB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2357, allocations: 4 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.236, allocations: 147.7 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.236, allocations: 0 / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.236, allocations: 37.62 kB / 0.79 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.2363, allocations: 104 kB / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2363, allocations: 4 kB / 0.7901 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2363, allocations: 0 / 0.7901 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.2363, allocations: 0 / 0.7901 GB, free: 9.348 MB / 0.6075 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.0004397/0.2367, allocations: 355.5 kB / 0.7904 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2368, allocations: 8.031 kB / 0.7904 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.2368, allocations: 30.75 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.2373, allocations: 32.81 kB / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2374, allocations: 168.4 kB / 0.7906 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2374, allocations: 384 / 0.7906 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2374, allocations: 8.375 kB / 0.7907 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2376, allocations: 50.22 kB / 0.7907 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2377, allocations: 3.938 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.2377, allocations: 4 kB / 0.7907 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2377, allocations: 0 / 0.7907 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2378, allocations: 35.89 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.2381, allocations: 161.7 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.2384, allocations: 66.58 kB / 0.791 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.2385, allocations: 24.94 kB / 0.791 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2385, allocations: 3.984 kB / 0.791 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2386, allocations: 38.56 kB / 0.791 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.2386, allocations: 0 / 0.791 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003389/0.242, allocations: 0.5758 MB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.242, allocations: 59.41 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.2421, allocations: 89.86 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2421, allocations: 25.7 kB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.2421, allocations: 92.11 kB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.2422, allocations: 15.72 kB / 0.7919 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.2422, allocations: 21.66 kB / 0.7919 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.2423, allocations: 314.8 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2425, allocations: 40.09 kB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.2426, allocations: 35.97 kB / 0.7923 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2429, allocations: 84.81 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2429, allocations: 0 / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003408/0.2432, allocations: 125.5 kB / 0.7925 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2433, allocations: 4 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2433, allocations: 64 / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2433, allocations: 4 kB / 0.7925 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.2435, allocations: 27.97 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2435, allocations: 0 / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2437, allocations: 4 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2437, allocations: 7.984 kB / 0.7925 GB, free: 6.586 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/0.2438, allocations: 109.8 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.2438, allocations: 11.84 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.2439, allocations: 11.97 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2439, allocations: 3.984 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2439, allocations: 4 kB / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2439, allocations: 0 / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2441, allocations: 179.7 kB / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2441, allocations: 0 / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.2443, allocations: 35.84 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2444, allocations: 0 / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.2444, allocations: 8 kB / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2444, allocations: 0 / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2444, allocations: 0 / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.2449, allocations: 189.2 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.245, allocations: 84.95 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.245, allocations: 4.031 kB / 0.7931 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.2452, allocations: 7.984 kB / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.2452, allocations: 4 kB / 0.7931 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2453, allocations: 11.92 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.2453, allocations: 83.34 kB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2453, allocations: 3.938 kB / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002748/0.2456, allocations: 31.94 kB / 0.7932 GB, free: 5.711 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009395/0.2466, allocations: 0.753 MB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.2469, allocations: 96.03 kB / 0.7941 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.2469, allocations: 4 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.2471, allocations: 43.95 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.2473, allocations: 8 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.2492, allocations: 1.356 MB / 0.7955 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2495, allocations: 0.6848 MB / 0.7961 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.2497, allocations: 28.36 kB / 0.7961 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.2498, allocations: 19.41 kB / 0.7962 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.2498, allocations: 0 / 0.7962 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.2618, allocations: 2.253 MB / 0.7984 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.262, allocations: 260 kB / 0.7986 GB, free: 272 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.881, allocations: 0 / 0.7986 GB, free: 272 kB / 0.6075 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/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)