Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009644/0.009644, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001613/0.001613, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6548/0.6548, allocations: 95.48 MB / 365.4 MB, free: 9.777 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 66.09 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1565, allocations: 69.09 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001621/0.1581, allocations: 0.5708 MB / 0.5717 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.1585, allocations: 63.84 kB / 0.5717 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1585, allocations: 0 / 0.5717 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.1586, allocations: 3.984 kB / 0.5717 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.1586, allocations: 11.88 kB / 0.5717 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1589, allocations: 47.94 kB / 0.5718 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.159, allocations: 23.92 kB / 0.5718 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.1591, allocations: 0 / 0.5718 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.1591, allocations: 23.91 kB / 0.5718 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1593, allocations: 59.95 kB / 0.5719 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1593, allocations: 0 / 0.5719 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1594, allocations: 35.95 kB / 0.5719 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.1595, allocations: 19.94 kB / 0.5719 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.1595, allocations: 23.84 kB / 0.572 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1597, allocations: 67.8 kB / 0.572 GB, free: 7.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1597, allocations: 0 / 0.572 GB, free: 7.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1597, allocations: 0 / 0.572 GB, free: 7.379 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1597, allocations: 0 / 0.572 GB, free: 7.379 MB / 446.1 MB 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.0003481/0.16, allocations: 363.4 kB / 0.5724 GB, free: 6.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1601, allocations: 11.98 kB / 0.5724 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1601, allocations: 4.938 kB / 0.5724 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.1602, allocations: 168.3 kB / 0.5725 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1603, allocations: 15.92 kB / 0.5726 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.1603, allocations: 0 / 0.5726 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1605, allocations: 180.6 kB / 0.5727 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1605, allocations: 0 / 0.5727 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1605, allocations: 7.984 kB / 0.5727 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.1606, allocations: 23.98 kB / 0.5728 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.1607, allocations: 39.84 kB / 0.5728 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.1613, allocations: 0.9023 MB / 0.5737 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.1614, allocations: 173.4 kB / 0.5738 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.1614, allocations: 80.14 kB / 0.5739 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1615, allocations: 79.28 kB / 0.574 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.1615, allocations: 113.9 kB / 0.5741 GB, free: 5.039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.1615, allocations: 0 / 0.5741 GB, free: 5.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.186e-05/0.1616, allocations: 41.55 kB / 0.5741 GB, free: 4.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.1618, allocations: 399.6 kB / 0.5745 GB, free: 4.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1619, allocations: 168.4 kB / 0.5747 GB, free: 4.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.162, allocations: 29.7 kB / 0.5747 GB, free: 4.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.162, allocations: 159.1 kB / 0.5749 GB, free: 4.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.1621, allocations: 0 / 0.5749 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.1621, allocations: 57.61 kB / 0.5749 GB, free: 4.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1622, allocations: 318.8 kB / 0.5752 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.1623, allocations: 23.98 kB / 0.5752 GB, free: 3.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1624, allocations: 226.5 kB / 0.5755 GB, free: 3.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.1626, allocations: 197.8 kB / 0.5757 GB, free: 3.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1626, allocations: 4 kB / 0.5757 GB, free: 3.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002814/0.1629, allocations: 189.6 kB / 0.5758 GB, free: 2.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1629, allocations: 13.03 kB / 0.5758 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.163, allocations: 4 kB / 0.5759 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.163, allocations: 15.92 kB / 0.5759 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1631, allocations: 35.92 kB / 0.5759 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1631, allocations: 8 kB / 0.5759 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.1632, allocations: 23.84 kB / 0.5759 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1632, allocations: 8 kB / 0.5759 GB, free: 2.879 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.1634, allocations: 220.9 kB / 0.5762 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.1634, allocations: 116.8 kB / 0.5763 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.1635, allocations: 112.8 kB / 0.5764 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/0.1636, allocations: 184.3 kB / 0.5765 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.486e-05/0.1636, allocations: 180.2 kB / 0.5767 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-05/0.1637, allocations: 176.3 kB / 0.5769 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1639, allocations: 437.1 kB / 0.5773 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.1639, allocations: 101 kB / 0.5774 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.164, allocations: 101 kB / 0.5775 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-05/0.164, allocations: 180.2 kB / 0.5777 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.1641, allocations: 180.3 kB / 0.5778 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-05/0.1642, allocations: 180.2 kB / 0.578 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.997e-05/0.1642, allocations: 188.2 kB / 0.5782 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1644, allocations: 311.6 kB / 0.5785 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.1645, allocations: 190 kB / 0.5787 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.1645, allocations: 188.1 kB / 0.5788 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.1646, allocations: 101.3 kB / 0.5789 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.1647, allocations: 192.1 kB / 0.5791 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.1647, allocations: 101 kB / 0.5792 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.1648, allocations: 112.4 kB / 0.5793 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1648, allocations: 0 / 0.5793 GB, free: 15.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1651, allocations: 39.98 kB / 0.5794 GB, free: 15.14 MB / 462.1 MB 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 (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.0001734/0.1653, allocations: 178.5 kB / 0.5795 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1655, allocations: 79.8 kB / 0.5796 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1655, allocations: 0 / 0.5796 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.1655, allocations: 3.938 kB / 0.5796 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1658, allocations: 472.9 kB / 0.5801 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.1661, allocations: 224.9 kB / 0.5803 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1663, allocations: 0.689 MB / 0.581 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.1665, allocations: 60.58 kB / 0.581 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.1665, allocations: 15.53 kB / 0.581 GB, free: 13.36 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1666, allocations: 3.938 kB / 0.581 GB, free: 13.36 MB / 462.1 MB Notification: Performance of Templates: time 0.003945/0.1705, allocations: 1.675 MB / 0.5827 GB, free: 11.72 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)