Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009125/0.0009126, allocations: 179 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 0.631 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006691/0.0006691, allocations: 88.86 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 18.22 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005606/0.1653, allocations: 339.7 kB / 0.9805 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.1656, allocations: 67.88 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1656, allocations: 4 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.1656, allocations: 0 / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.1657, allocations: 8 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1659, allocations: 35.89 kB / 0.9806 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.166, allocations: 27.95 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.166, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.166, allocations: 19.92 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1662, allocations: 71.94 kB / 0.9807 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1662, allocations: 0 / 0.9807 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.1663, allocations: 31.97 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.1663, allocations: 27.91 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.1664, allocations: 41.58 kB / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.238e-05/0.1665, allocations: 43.92 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1665, allocations: 7.938 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1665, allocations: 0 / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.686e-06/0.1665, allocations: 0 / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002127/0.1667, allocations: 353.1 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1667, allocations: 8.031 kB / 0.9812 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.1668, allocations: 42.67 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1668, allocations: 8.844 kB / 0.9813 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.593e-05/0.1669, allocations: 168.3 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1669, allocations: 12.36 kB / 0.9815 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1669, allocations: 4.375 kB / 0.9815 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1671, allocations: 175.2 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1671, allocations: 0 / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1671, allocations: 7.984 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.1672, allocations: 19.98 kB / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.1672, allocations: 39.91 kB / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1677, allocations: 0.9023 MB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.1677, allocations: 173.1 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.1677, allocations: 84.08 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1678, allocations: 75.28 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1678, allocations: 109.8 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.1678, allocations: 4 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.692e-05/0.1679, allocations: 33.61 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.1679, allocations: 395.7 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.168, allocations: 164.3 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1681, allocations: 25.7 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1681, allocations: 151.1 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-06/0.1681, allocations: 4 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.1681, allocations: 7.938 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.1682, allocations: 330.8 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.1682, allocations: 19.98 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.1683, allocations: 218.6 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1685, allocations: 197.7 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1685, allocations: 4 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002316/0.1687, allocations: 189.2 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1687, allocations: 8 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1687, allocations: 4 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1688, allocations: 11.94 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1689, allocations: 35.92 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1689, allocations: 16.48 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.169, allocations: 35.69 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.169, allocations: 8.094 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.142e-05/0.1691, allocations: 224.9 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1691, allocations: 108.9 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1692, allocations: 120.8 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.1692, allocations: 188.2 kB / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.488e-05/0.1692, allocations: 180.3 kB / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.1692, allocations: 184.2 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1694, allocations: 417.2 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.1694, allocations: 108.9 kB / 0.9862 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.1694, allocations: 101 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-05/0.1694, allocations: 180.3 kB / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1695, allocations: 184.2 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.291e-05/0.1695, allocations: 189.1 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-05/0.1695, allocations: 180.2 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.731e-05/0.1696, allocations: 307.8 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.1696, allocations: 194 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1697, allocations: 184.2 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.1697, allocations: 109.1 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.1698, allocations: 180.3 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1698, allocations: 113 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.1698, allocations: 114.1 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 4 kB / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002982/0.1701, allocations: 28 kB / 0.9882 GB, free: 18.29 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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.0002422/0.1704, allocations: 0.8282 MB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1705, allocations: 71.91 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1705, allocations: 4 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1705, allocations: 3.938 kB / 0.9891 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.1708, allocations: 0.5314 MB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.1712, allocations: 284.2 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1713, allocations: 0.6971 MB / 0.9906 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.1715, allocations: 52.59 kB / 0.9906 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1715, allocations: 19.44 kB / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.1715, allocations: 0 / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.268/0.4395, allocations: 2.804 MB / 0.9934 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.4398, allocations: 220.2 kB / 0.9936 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.506, allocations: 0 / 0.9936 GB, free: 12.83 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)