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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008521/0.0008524, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009397/0.0009398, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.774/1.774, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005029/0.0005029, allocations: 16.72 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2571, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001422/0.2585, allocations: 1.009 MB / 0.7883 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.2595, allocations: 0.603 MB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.2596, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.2596, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.2596, allocations: 11.91 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.26, allocations: 91.64 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.2601, allocations: 27.91 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.2602, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.2602, allocations: 8 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.2603, allocations: 15.92 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2603, allocations: 3.938 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.2606, allocations: 143.7 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.2606, allocations: 7.984 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.2606, allocations: 29.7 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.2608, allocations: 68.16 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2608, allocations: 4 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.025e-06/0.2608, allocations: 3.984 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2608, allocations: 0 / 0.7893 GB, free: 9.891 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.0004475/0.2612, allocations: 339.4 kB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2613, allocations: 12.03 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.2617, allocations: 35.86 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2618, allocations: 167 kB / 0.7898 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2618, allocations: 3.938 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.2619, allocations: 7.938 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2621, allocations: 53.66 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2621, allocations: 0 / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2621, allocations: 3.984 kB / 0.7899 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2621, allocations: 0 / 0.7899 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.2622, allocations: 31.98 kB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.2624, allocations: 161.6 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.2627, allocations: 70.52 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.2628, allocations: 28.94 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2628, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2629, allocations: 38.5 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.2629, allocations: 0 / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.00299/0.2659, allocations: 0.5759 MB / 0.7907 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.2659, allocations: 59.41 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.266, allocations: 89.86 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.266, allocations: 25.7 kB / 0.7909 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.266, allocations: 84.14 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.2661, allocations: 23.83 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.2661, allocations: 0 / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2662, allocations: 322.8 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2663, allocations: 31.97 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2665, allocations: 39.91 kB / 0.7914 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.2666, allocations: 39.97 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2666, allocations: 0 / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003051/0.2669, allocations: 121.6 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2669, allocations: 8 kB / 0.7916 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2669, allocations: 64 / 0.7916 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.267, allocations: 4.328 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.2672, allocations: 23.97 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2672, allocations: 7.938 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.2673, allocations: 8 kB / 0.7916 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2673, allocations: 3.984 kB / 0.7916 GB, free: 7.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.2674, allocations: 117.7 kB / 0.7917 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.2674, allocations: 3.906 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.2675, allocations: 19.95 kB / 0.7917 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2675, allocations: 0 / 0.7917 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2675, allocations: 0 / 0.7917 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2675, allocations: 3.984 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2677, allocations: 183.7 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2677, allocations: 3.984 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.2679, allocations: 27.97 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2679, allocations: 0 / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.268, allocations: 0 / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.268, allocations: 0 / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.268, allocations: 3.938 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.2685, allocations: 200.9 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.2685, allocations: 77.11 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2685, allocations: 4 kB / 0.7922 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.2687, allocations: 11.98 kB / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.2687, allocations: 0 / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2687, allocations: 12.05 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.2688, allocations: 75.28 kB / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2688, allocations: 0 / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002315/0.269, allocations: 35.94 kB / 0.7923 GB, free: 6.371 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 (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.0001977/0.2692, allocations: 131.2 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.2696, allocations: 84.27 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2696, allocations: 0 / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2697, allocations: 47.89 kB / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.2699, allocations: 12.11 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.2705, allocations: 178.9 kB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.2707, allocations: 0.677 MB / 0.7934 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.271, allocations: 35.86 kB / 0.7935 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.271, allocations: 15.42 kB / 0.7935 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.271, allocations: 0 / 0.7935 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.003742/0.2748, allocations: 1.449 MB / 0.7949 GB, free: 3.734 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: