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.0007794/0.0007796, allocations: 98.27 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.00547/0.00547, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.325/1.325, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.676/1.676, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0008407/0.0008409, allocations: 18.75 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2625, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001314/0.2639, allocations: 1.017 MB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2649, allocations: 0.6416 MB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.265, allocations: 4 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.265, allocations: 3.938 kB / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.795e-05/0.265, allocations: 0 / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.2654, allocations: 95.61 kB / 0.7896 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.2655, allocations: 19.94 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.2655, allocations: 4 kB / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.2656, allocations: 11.98 kB / 0.7896 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.2656, allocations: 15.91 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2656, allocations: 8 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.2659, allocations: 147.7 kB / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.2659, allocations: 0 / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.266, allocations: 41.62 kB / 0.7898 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.2662, allocations: 100 kB / 0.7899 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2662, allocations: 3.938 kB / 0.7899 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2662, allocations: 0 / 0.7899 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2662, allocations: 0 / 0.7899 GB, free: 9.426 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.0004459/0.2667, allocations: 347.5 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2667, allocations: 8.031 kB / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004604/0.2672, allocations: 36.8 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2673, allocations: 164.4 kB / 0.7905 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2673, allocations: 384 / 0.7905 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.2674, allocations: 384 / 0.7905 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2676, allocations: 62.16 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2676, allocations: 192 / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.2676, allocations: 3.938 kB / 0.7905 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2676, allocations: 4 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2677, allocations: 31.91 kB / 0.7906 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.2679, allocations: 165.7 kB / 0.7907 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.2683, allocations: 70.53 kB / 0.7908 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.2684, allocations: 24.94 kB / 0.7908 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2684, allocations: 0 / 0.7908 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.2684, allocations: 30.56 kB / 0.7909 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.2684, allocations: 11.98 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003396/0.2718, allocations: 0.5797 MB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.2719, allocations: 51.41 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.2719, allocations: 97.86 kB / 0.7916 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.272, allocations: 25.7 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.272, allocations: 84.14 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.2721, allocations: 23.7 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.2721, allocations: 17.72 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2722, allocations: 310.8 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.2724, allocations: 36.09 kB / 0.792 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.2725, allocations: 43.91 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2728, allocations: 80.81 kB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2728, allocations: 0 / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003473/0.2731, allocations: 129.7 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2732, allocations: 7.938 kB / 0.7923 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2732, allocations: 0 / 0.7923 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2732, allocations: 0 / 0.7923 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.2734, allocations: 23.97 kB / 0.7923 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.2734, allocations: 8.047 kB / 0.7923 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2736, allocations: 8 kB / 0.7923 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.2736, allocations: 11.92 kB / 0.7923 GB, free: 6.691 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.522e-05/0.2737, allocations: 109.8 kB / 0.7925 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2737, allocations: 11.84 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/0.2738, allocations: 11.97 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2738, allocations: 0 / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2738, allocations: 0 / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2738, allocations: 3.938 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.274, allocations: 179.7 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.274, allocations: 0 / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.2742, allocations: 27.97 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2742, allocations: 3.938 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2742, allocations: 3.984 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2742, allocations: 8 kB / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2742, allocations: 0 / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.2748, allocations: 185 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.2748, allocations: 85.03 kB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2749, allocations: 4.031 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2751, allocations: 4.125 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.2751, allocations: 11.98 kB / 0.793 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2751, allocations: 7.922 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.2752, allocations: 83.28 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2752, allocations: 4.156 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002811/0.2755, allocations: 31.94 kB / 0.7931 GB, free: 5.824 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.0002322/0.2757, allocations: 127.2 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.2761, allocations: 83.92 kB / 0.7933 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2761, allocations: 8 kB / 0.7933 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2762, allocations: 51.89 kB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.2765, allocations: 10.95 kB / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.2771, allocations: 178.5 kB / 0.7935 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2774, allocations: 0.677 MB / 0.7942 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.2776, allocations: 27.94 kB / 0.7942 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.2777, allocations: 15.42 kB / 0.7942 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2777, allocations: 4 kB / 0.7942 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of Templates: time 0.004354/0.2821, allocations: 1.448 MB / 0.7957 GB, free: 3.188 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: