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.001137/0.001138, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001197/0.001197, allocations: 194.8 kB / 16.91 MB, free: 6.184 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.189/1.189, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.002041, allocations: 280.1 kB / 291 MB, free: 14.75 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8605/0.8605, allocations: 169.2 MB / 0.4985 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 94.03 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1652, allocations: 86.98 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001758/0.167, allocations: 0.659 MB / 0.6809 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002872/0.1673, allocations: 71.78 kB / 0.681 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.1673, allocations: 4 kB / 0.681 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.1673, allocations: 3.938 kB / 0.681 GB, free: 7.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.1674, allocations: 11.92 kB / 0.681 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1677, allocations: 39.95 kB / 0.6811 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.1677, allocations: 27.92 kB / 0.6811 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1678, allocations: 3.984 kB / 0.6811 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.1678, allocations: 11.98 kB / 0.6811 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.168, allocations: 75.92 kB / 0.6812 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.168, allocations: 0 / 0.6812 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.096e-05/0.1681, allocations: 39.95 kB / 0.6812 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.1681, allocations: 20 kB / 0.6812 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1682, allocations: 23.78 kB / 0.6812 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.513e-05/0.1683, allocations: 39.95 kB / 0.6813 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1683, allocations: 4 kB / 0.6813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1683, allocations: 0 / 0.6813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1683, allocations: 0 / 0.6813 GB, free: 7.551 MB / 494.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.0003443/0.1686, allocations: 363.8 kB / 0.6816 GB, free: 7.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1687, allocations: 8.031 kB / 0.6816 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1687, allocations: 8.844 kB / 0.6816 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.1688, allocations: 172.3 kB / 0.6818 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1688, allocations: 384 / 0.6818 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1689, allocations: 8.359 kB / 0.6818 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1691, allocations: 180.5 kB / 0.682 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1691, allocations: 4 kB / 0.682 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1691, allocations: 3.984 kB / 0.682 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.1692, allocations: 19.98 kB / 0.682 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.1692, allocations: 35.91 kB / 0.6821 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.1698, allocations: 0.9023 MB / 0.6829 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.1699, allocations: 177.1 kB / 0.6831 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.17, allocations: 84.14 kB / 0.6832 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.17, allocations: 75.28 kB / 0.6833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.17, allocations: 105.8 kB / 0.6834 GB, free: 5.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.17, allocations: 0 / 0.6834 GB, free: 5.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.997e-05/0.1701, allocations: 41.61 kB / 0.6834 GB, free: 5.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.1703, allocations: 391.7 kB / 0.6838 GB, free: 4.719 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1704, allocations: 163 kB / 0.6839 GB, free: 4.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1704, allocations: 33.64 kB / 0.684 GB, free: 4.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.1705, allocations: 155 kB / 0.6841 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.1705, allocations: 4 kB / 0.6841 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.1706, allocations: 53.61 kB / 0.6842 GB, free: 4.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.1707, allocations: 326.8 kB / 0.6845 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.1707, allocations: 27.98 kB / 0.6845 GB, free: 3.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1709, allocations: 219.8 kB / 0.6847 GB, free: 3.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1711, allocations: 201.8 kB / 0.6849 GB, free: 3.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1711, allocations: 4 kB / 0.6849 GB, free: 3.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002641/0.1713, allocations: 181.4 kB / 0.6851 GB, free: 3.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1714, allocations: 8 kB / 0.6851 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1714, allocations: 11.97 kB / 0.6851 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1714, allocations: 11.94 kB / 0.6851 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1715, allocations: 39.92 kB / 0.6851 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1715, allocations: 7.938 kB / 0.6852 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.1716, allocations: 32.16 kB / 0.6852 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1716, allocations: 16 kB / 0.6852 GB, free: 3.055 MB / 494.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.0001167/0.1718, allocations: 213 kB / 0.6854 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.1718, allocations: 108.9 kB / 0.6855 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.1719, allocations: 128.8 kB / 0.6856 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.507e-05/0.1719, allocations: 184.2 kB / 0.6858 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.719e-05/0.172, allocations: 184.2 kB / 0.686 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.264e-05/0.1721, allocations: 176.3 kB / 0.6861 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1723, allocations: 421.2 kB / 0.6866 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/0.1723, allocations: 104.9 kB / 0.6867 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.1723, allocations: 101 kB / 0.6867 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.487e-05/0.1724, allocations: 184.2 kB / 0.6869 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.1725, allocations: 185 kB / 0.6871 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-05/0.1725, allocations: 184.2 kB / 0.6873 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.884e-05/0.1726, allocations: 184.2 kB / 0.6875 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1727, allocations: 315.7 kB / 0.6878 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.1728, allocations: 186 kB / 0.6879 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2822/0.455, allocations: 185.8 kB / 0.6881 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.4551, allocations: 110.8 kB / 0.6882 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.4551, allocations: 177.7 kB / 0.6884 GB, free: 18.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.4552, allocations: 110.5 kB / 0.6885 GB, free: 17.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.4553, allocations: 121.7 kB / 0.6886 GB, free: 17.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4553, allocations: 0 / 0.6886 GB, free: 17.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004589/0.4558, allocations: 27.47 kB / 0.6886 GB, free: 17.83 MB / 494.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.0002059/0.456, allocations: 187.2 kB / 0.6888 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.4562, allocations: 75.28 kB / 0.6889 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4562, allocations: 1.094 kB / 0.6889 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-06/0.4562, allocations: 3.281 kB / 0.6889 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.4566, allocations: 472.3 kB / 0.6893 GB, free: 17.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.4569, allocations: 270.2 kB / 0.6896 GB, free: 16.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.4571, allocations: 0.6926 MB / 0.6903 GB, free: 16.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.4571, allocations: 15.94 kB / 0.6903 GB, free: 16.28 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4571, allocations: 4.188 kB / 0.6903 GB, free: 16.28 MB / 494.1 MB Notification: Performance of Templates: time 0.004546/0.4617, allocations: 1.712 MB / 0.692 GB, free: 16.21 MB / 494.1 MB 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)