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.001568/0.001568, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001748/0.001748, allocations: 188.6 kB / 17.2 MB, free: 5.508 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.428/1.428, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.735/1.735, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001397/0.001397, allocations: 67.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2529, allocations: 114.5 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002779/0.2558, allocations: 1.248 MB / 0.7853 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005268/0.2563, allocations: 231.2 kB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.2564, allocations: 4 kB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.2564, allocations: 0 / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.2565, allocations: 7.922 kB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.2568, allocations: 39.83 kB / 0.7855 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.2568, allocations: 19.98 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.2569, allocations: 0 / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.2569, allocations: 7.984 kB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.257, allocations: 15.92 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.257, allocations: 3.938 kB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.2572, allocations: 47.95 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.2572, allocations: 4 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.2572, allocations: 4 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2573, allocations: 40.17 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2573, allocations: 3.938 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2574, allocations: 0 / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.2574, allocations: 0 / 0.7857 GB, free: 2.215 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.0004341/0.2578, allocations: 339.5 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2578, allocations: 16.03 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.258, allocations: 12.92 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2581, allocations: 160.4 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2582, allocations: 4.375 kB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.2582, allocations: 4.375 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2583, allocations: 42.25 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2583, allocations: 4.172 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2583, allocations: 7.938 kB / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2584, allocations: 0 / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.2584, allocations: 19.92 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.2586, allocations: 165.6 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/0.2587, allocations: 42.52 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.2587, allocations: 20.97 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2587, allocations: 0 / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2588, allocations: 34.56 kB / 0.7865 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 2.575e-06/0.2588, allocations: 4 kB / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.002063/0.2608, allocations: 0.494 MB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2609, allocations: 59.41 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.341e-05/0.2609, allocations: 89.86 kB / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.261, allocations: 29.7 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.261, allocations: 80.14 kB / 0.7872 GB, free: 368 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.2611, allocations: 23.66 kB / 0.7873 GB, free: 344 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.2611, allocations: 21.7 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3232/0.5843, allocations: 314.8 kB / 0.7876 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.5845, allocations: 17.83 kB / 0.7876 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.5845, allocations: 23.38 kB / 0.7876 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.5846, allocations: 62.73 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5846, allocations: 0 / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001689/0.5848, allocations: 94.88 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5848, allocations: 9.5 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5849, allocations: 2.562 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5849, allocations: 3.469 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5851, allocations: 11.47 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5851, allocations: 2.844 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.5851, allocations: 1.562 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5852, allocations: 7.25 kB / 0.7878 GB, free: 48.43 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 7.596e-05/0.5852, allocations: 108.5 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.5853, allocations: 5.266 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.5853, allocations: 13.72 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5853, allocations: 4.703 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5853, allocations: 6.906 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5854, allocations: 1.969 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.5855, allocations: 174.3 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5855, allocations: 1.938 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.5856, allocations: 21.52 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5856, allocations: 3.719 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.5856, allocations: 2.719 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5856, allocations: 3.75 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5857, allocations: 4.531 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.5859, allocations: 148.8 kB / 0.7883 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.5859, allocations: 80.16 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.5859, allocations: 3.938 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5861, allocations: 8.75 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.5861, allocations: 9.781 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5861, allocations: 2.406 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.511e-05/0.5861, allocations: 75.28 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5861, allocations: 0 / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002351/0.5864, allocations: 11.34 kB / 0.7885 GB, free: 47.89 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.0001108/0.5865, allocations: 106.6 kB / 0.7886 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.5866, allocations: 62.39 kB / 0.7886 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5866, allocations: 2.688 kB / 0.7886 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.5867, allocations: 32.86 kB / 0.7887 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.587, allocations: 7.594 kB / 0.7887 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.5875, allocations: 196.3 kB / 0.7889 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.6e-05/0.5876, allocations: 0.6794 MB / 0.7895 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.5876, allocations: 14.25 kB / 0.7895 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of SimCode: time 4.3e-07/0.5877, allocations: 0 / 0.7895 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002012/0.5897, allocations: 0.892 MB / 0.7904 GB, free: 46.96 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)