Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001187/0.001187, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.412/1.412, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.725/1.725, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001388/0.001387, allocations: 67.23 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2693, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003234/0.2725, allocations: 1.729 MB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007163/0.2733, allocations: 390.8 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.2734, allocations: 0 / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2735, allocations: 15.86 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.2736, allocations: 15.86 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.274, allocations: 111.7 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.2742, allocations: 103.6 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2743, allocations: 36.27 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.2744, allocations: 43.84 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.2745, allocations: 43.83 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2745, allocations: 8 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2746, allocations: 59.95 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.2746, allocations: 23.86 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.2747, allocations: 51.78 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.2749, allocations: 95.75 kB / 0.7862 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2749, allocations: 4 kB / 0.7862 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2749, allocations: 0 / 0.7862 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2749, allocations: 0 / 0.7862 GB, free: 11.17 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006199/0.2755, allocations: 419 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2756, allocations: 8.031 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.2759, allocations: 28.81 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.2761, allocations: 205.1 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.2762, allocations: 30.27 kB / 0.7868 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2762, allocations: 12.38 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.2765, allocations: 102.2 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2765, allocations: 3.938 kB / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2765, allocations: 0 / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2765, allocations: 4 kB / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.2768, allocations: 83.88 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.2775, allocations: 380.5 kB / 0.7874 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.278, allocations: 134.6 kB / 0.7875 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2782, allocations: 44.83 kB / 0.7875 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2782, allocations: 0 / 0.7875 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2782, allocations: 34.56 kB / 0.7876 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.2782, allocations: 4 kB / 0.7876 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004164/0.2787, allocations: 129.5 kB / 0.7877 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2787, allocations: 55.41 kB / 0.7878 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2788, allocations: 144.9 kB / 0.7879 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.2789, allocations: 29.7 kB / 0.7879 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.2789, allocations: 96.05 kB / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.279, allocations: 23.64 kB / 0.788 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.279, allocations: 29.66 kB / 0.7881 GB, free: 9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2792, allocations: 322.8 kB / 0.7884 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2793, allocations: 24.14 kB / 0.7884 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2794, allocations: 53.67 kB / 0.7884 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.2796, allocations: 81.61 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2796, allocations: 0 / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000265/0.2799, allocations: 109.6 kB / 0.7886 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2799, allocations: 8 kB / 0.7886 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2799, allocations: 0 / 0.7886 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2799, allocations: 0 / 0.7886 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2801, allocations: 23.86 kB / 0.7887 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2801, allocations: 8.031 kB / 0.7887 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.2802, allocations: 15.92 kB / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.2802, allocations: 3.938 kB / 0.7887 GB, free: 8.336 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 8.839e-05/0.2803, allocations: 113.8 kB / 0.7888 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.2803, allocations: 7.906 kB / 0.7888 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.2804, allocations: 16.72 kB / 0.7888 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2804, allocations: 3.938 kB / 0.7888 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2804, allocations: 0 / 0.7888 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2804, allocations: 3.984 kB / 0.7888 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.2806, allocations: 205.5 kB / 0.789 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2806, allocations: 0 / 0.789 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2807, allocations: 15.98 kB / 0.789 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2808, allocations: 0 / 0.789 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2808, allocations: 4 kB / 0.789 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2808, allocations: 3.938 kB / 0.789 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2808, allocations: 3.938 kB / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.2811, allocations: 204 kB / 0.7892 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.2812, allocations: 81.02 kB / 0.7893 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2812, allocations: 8 kB / 0.7893 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.2813, allocations: 11.92 kB / 0.7893 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2814, allocations: 11.97 kB / 0.7894 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2814, allocations: 4 kB / 0.7894 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.2815, allocations: 99.27 kB / 0.7895 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.533e-06/0.2815, allocations: 4 kB / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002351/0.2817, allocations: 27.94 kB / 0.7895 GB, free: 7.426 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001638/0.2819, allocations: 99.23 kB / 0.7896 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.2822, allocations: 79.95 kB / 0.7897 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2822, allocations: 0 / 0.7897 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2823, allocations: 39.91 kB / 0.7897 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.2827, allocations: 30.7 kB / 0.7897 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.2833, allocations: 268.6 kB / 0.79 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.2836, allocations: 0.6962 MB / 0.7907 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.2836, allocations: 15.44 kB / 0.7907 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2837, allocations: 0 / 0.7907 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.002856/0.2865, allocations: 1.312 MB / 0.792 GB, free: 4.848 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)