Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005657/0.005657, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001358/0.001359, allocations: 194.7 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 278.6 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 107.8 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.154, allocations: 86.97 MB / 0.7664 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001732/0.1558, allocations: 0.5994 MB / 0.767 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003458/0.1562, allocations: 71.78 kB / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.1562, allocations: 0 / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.1562, allocations: 4 kB / 0.7671 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.1563, allocations: 11.92 kB / 0.7671 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1566, allocations: 35.95 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.1567, allocations: 27.91 kB / 0.7672 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.1567, allocations: 4 kB / 0.7672 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.1567, allocations: 11.98 kB / 0.7672 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1569, allocations: 67.88 kB / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1569, allocations: 4 kB / 0.7672 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.157, allocations: 43.89 kB / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.1571, allocations: 8 kB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.1571, allocations: 27.8 kB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1572, allocations: 67.84 kB / 0.7674 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1573, allocations: 0 / 0.7674 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1573, allocations: 3.938 kB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1573, allocations: 0 / 0.7674 GB, free: 7.414 MB / 0.5606 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.0003397/0.1576, allocations: 371.3 kB / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1577, allocations: 8.031 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.1577, allocations: 8.844 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.1578, allocations: 168.3 kB / 0.7679 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1578, allocations: 8.359 kB / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.1578, allocations: 384 / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.1581, allocations: 193.8 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1581, allocations: 0 / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1581, allocations: 4 kB / 0.7681 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.1581, allocations: 15.98 kB / 0.7681 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.1582, allocations: 39.91 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.1588, allocations: 0.8984 MB / 0.769 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.1589, allocations: 169.1 kB / 0.7692 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.159, allocations: 84.08 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.159, allocations: 79.28 kB / 0.7694 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.1591, allocations: 109.8 kB / 0.7695 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1591, allocations: 0 / 0.7695 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.934e-05/0.1591, allocations: 33.61 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.1593, allocations: 391.7 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1594, allocations: 165.6 kB / 0.77 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1595, allocations: 25.7 kB / 0.7701 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.1595, allocations: 159.1 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.1596, allocations: 0 / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.1596, allocations: 57.61 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1597, allocations: 322.7 kB / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.1598, allocations: 27.97 kB / 0.7706 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.16, allocations: 220.7 kB / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1601, allocations: 201.7 kB / 0.771 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1601, allocations: 4 kB / 0.771 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002905/0.1604, allocations: 193.7 kB / 0.7712 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1605, allocations: 12.09 kB / 0.7712 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1605, allocations: 4 kB / 0.7712 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1605, allocations: 7.938 kB / 0.7712 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1606, allocations: 39.92 kB / 0.7713 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1606, allocations: 15.92 kB / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.1607, allocations: 27.69 kB / 0.7713 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1608, allocations: 19.94 kB / 0.7713 GB, free: 2.91 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.1609, allocations: 213.6 kB / 0.7715 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.161, allocations: 109.1 kB / 0.7716 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.161, allocations: 120.7 kB / 0.7717 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/0.1611, allocations: 180.2 kB / 0.7719 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.547e-05/0.1611, allocations: 184.2 kB / 0.7721 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/0.1612, allocations: 180.2 kB / 0.7723 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.1614, allocations: 421.2 kB / 0.7727 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/0.1614, allocations: 104.9 kB / 0.7728 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.1615, allocations: 105 kB / 0.7729 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.415e-05/0.1615, allocations: 176.8 kB / 0.773 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.1616, allocations: 188.2 kB / 0.7732 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.341e-05/0.1617, allocations: 180.2 kB / 0.7734 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-05/0.1617, allocations: 184.2 kB / 0.7736 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.1619, allocations: 319.9 kB / 0.7739 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3158/0.4776, allocations: 186 kB / 0.774 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.4777, allocations: 179.9 kB / 0.7742 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.4778, allocations: 111.8 kB / 0.7743 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.4778, allocations: 179 kB / 0.7745 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.4779, allocations: 106.2 kB / 0.7746 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.175e-05/0.478, allocations: 117.7 kB / 0.7747 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.478, allocations: 2.094 kB / 0.7747 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003667/0.4783, allocations: 30.73 kB / 0.7747 GB, free: 14.31 MB / 0.5606 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 (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.0001512/0.4785, allocations: 183.3 kB / 0.7749 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.4787, allocations: 74.89 kB / 0.775 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4787, allocations: 0.8438 kB / 0.775 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-06/0.4787, allocations: 3.125 kB / 0.775 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.479, allocations: 471.5 kB / 0.7754 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.4792, allocations: 226.4 kB / 0.7756 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.4794, allocations: 0.6961 MB / 0.7763 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.4796, allocations: 54.39 kB / 0.7764 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.4796, allocations: 14.06 kB / 0.7764 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.4796, allocations: 0.625 kB / 0.7764 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.004625/0.4842, allocations: 1.693 MB / 0.778 GB, free: 12.73 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)