Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.613/2.613, allocations: 287.5 MB / 302.4 MB, free: 8.184 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.001356/0.001356, allocations: 184.7 kB / 371 MB, free: 10.87 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.215/2.215, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001645/0.001645, allocations: 82.42 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005084, allocations: 12.34 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2707, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0014/0.2722, allocations: 1.002 MB / 0.9794 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2734, allocations: 0.6105 MB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.2735, allocations: 0 / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.2735, allocations: 3.984 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.2736, allocations: 3.938 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.2741, allocations: 95.62 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.193e-05/0.2741, allocations: 23.92 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.2742, allocations: 0 / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.2742, allocations: 4 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.2743, allocations: 23.92 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2743, allocations: 0 / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.2747, allocations: 147.7 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.2747, allocations: 3.984 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.2747, allocations: 29.7 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2749, allocations: 68.14 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.275, allocations: 0 / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.275, allocations: 0 / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.275, allocations: 0 / 0.9804 GB, free: 26.23 MB / 0.6198 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.0004556/0.2754, allocations: 347.4 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2755, allocations: 16.02 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.2755, allocations: 38.55 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005892/0.2761, allocations: 31.83 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.2763, allocations: 171 kB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2763, allocations: 8 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.2763, allocations: 0 / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.2765, allocations: 57.64 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2766, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2766, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2766, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.2768, allocations: 31.97 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.277, allocations: 165.6 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.2775, allocations: 74.5 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2776, allocations: 20.94 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2777, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2777, allocations: 30.56 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.2777, allocations: 0 / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.005573/0.2833, allocations: 0.5759 MB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.2834, allocations: 55.41 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.2834, allocations: 93.81 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.2835, allocations: 29.7 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.2835, allocations: 80.14 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.2836, allocations: 19.7 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.2836, allocations: 4 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.2837, allocations: 318.8 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2839, allocations: 36.09 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.2841, allocations: 35.97 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.2844, allocations: 48.09 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2844, allocations: 0 / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005723/0.285, allocations: 121.6 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.285, allocations: 4 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.285, allocations: 0 / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.285, allocations: 0 / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.2854, allocations: 23.97 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2855, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.2857, allocations: 15.98 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.2858, allocations: 11.89 kB / 0.9828 GB, free: 23.52 MB / 0.6198 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 9.543e-05/0.2859, allocations: 105.8 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.2859, allocations: 11.84 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.65e-05/0.286, allocations: 15.95 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.286, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.286, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.286, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.2862, allocations: 187.7 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2863, allocations: 0 / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.2866, allocations: 23.97 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2866, allocations: 0 / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2867, allocations: 4 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2867, allocations: 7.984 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2867, allocations: 64 / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.2876, allocations: 200.9 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.2876, allocations: 77.11 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.2876, allocations: 4 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.288, allocations: 12.02 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.288, allocations: 4 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.288, allocations: 3.984 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.2881, allocations: 79.28 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2881, allocations: 4.156 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003146/0.2884, allocations: 35.94 kB / 0.9835 GB, free: 22.66 MB / 0.6198 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.001171/0.2896, allocations: 0.7528 MB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005204/0.2901, allocations: 83.92 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2901, allocations: 4.062 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.2904, allocations: 47.95 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.2907, allocations: 9.25 kB / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2926, allocations: 0.5162 MB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.2927, allocations: 0.6834 MB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003817/0.2931, allocations: 27.94 kB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2932, allocations: 31.41 kB / 0.9856 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 8.195e-06/0.2933, allocations: 0 / 0.9856 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.3161, allocations: 2.243 MB / 0.9878 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/0.3165, allocations: 246.9 kB / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/2.959, allocations: 2.812 kB / 0.9881 GB, free: 18.09 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)