Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 106.1 kB / 16.36 MB, free: 6.43 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.001704/0.001704, allocations: 196.5 kB / 17.3 MB, free: 5.797 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.872/1.872, allocations: 292.3 MB / 0.5496 GB, free: 17.75 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.001488/0.001488, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2198, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002356/0.2222, allocations: 1.259 MB / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004827/0.2227, allocations: 227.3 kB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.2227, allocations: 4 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.2227, allocations: 0 / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.193e-05/0.2228, allocations: 4 kB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.2231, allocations: 47.75 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.2231, allocations: 15.94 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.2232, allocations: 0 / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.2232, allocations: 15.97 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.2233, allocations: 8 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2233, allocations: 0 / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.2234, allocations: 47.89 kB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.2235, allocations: 0 / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.2235, allocations: 15.98 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.2236, allocations: 39.89 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2236, allocations: 4 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2237, allocations: 0 / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.2237, allocations: 0 / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003765/0.224, allocations: 335.5 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2241, allocations: 8.031 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.2242, allocations: 12.92 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.821e-05/0.2243, allocations: 168.3 kB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2243, allocations: 384 / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.2244, allocations: 12.36 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2245, allocations: 42.25 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2245, allocations: 192 / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2245, allocations: 3.938 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2245, allocations: 0 / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.2246, allocations: 12 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2247, allocations: 165.6 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.2248, allocations: 50.5 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.2249, allocations: 16.98 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2249, allocations: 3.984 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2249, allocations: 30.56 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.2249, allocations: 0 / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.4044/0.6293, allocations: 0.4887 MB / 0.7877 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.6294, allocations: 54.12 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.931e-05/0.6294, allocations: 90.58 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.6294, allocations: 34.48 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.506e-05/0.6294, allocations: 81.55 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.6295, allocations: 29.25 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.6295, allocations: 19.52 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.6296, allocations: 316.1 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.057e-05/0.6297, allocations: 30.69 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.405e-05/0.6297, allocations: 22.19 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.6298, allocations: 57.55 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6298, allocations: 0 / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001594/0.63, allocations: 93.92 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.63, allocations: 6.406 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.63, allocations: 0 / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6301, allocations: 6.438 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.6302, allocations: 18.94 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.6303, allocations: 0 / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.6303, allocations: 1 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.6304, allocations: 2.75 kB / 0.7886 GB, free: 48.21 MB / 0.6544 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 (9): * Single equations (assignments): 9 * 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 6.326e-05/0.6304, allocations: 114.3 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.6304, allocations: 8.219 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.6305, allocations: 24.19 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6305, allocations: 0 / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6305, allocations: 0 / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6305, allocations: 2.688 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.6306, allocations: 179.5 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6307, allocations: 5.219 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.6308, allocations: 14.73 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6308, allocations: 1.688 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.6308, allocations: 6.812 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6308, allocations: 0 / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6308, allocations: 0 / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.6311, allocations: 148.1 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.6311, allocations: 80.45 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.6311, allocations: 10 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6312, allocations: 3.25 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.6313, allocations: 5.953 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.6313, allocations: 4.781 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.302e-05/0.6313, allocations: 75.28 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6313, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001989/0.6315, allocations: 15.12 kB / 0.7892 GB, free: 47.66 MB / 0.6544 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 (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 Backend phase and start with SimCode phase: time 0.0001026/0.6316, allocations: 103.8 kB / 0.7893 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.6318, allocations: 62.25 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6318, allocations: 0 / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.6318, allocations: 33.45 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.6321, allocations: 9.281 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.6326, allocations: 172.2 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.6328, allocations: 0.6804 MB / 0.7903 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.449e-05/0.6328, allocations: 9.25 kB / 0.7903 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.6329, allocations: 10.91 kB / 0.7903 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.6329, allocations: 0 / 0.7903 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.002627/0.6355, allocations: 0.6906 MB / 0.791 GB, free: 46.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)