Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001261/0.001261, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001389/0.00139, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9178/0.9178, allocations: 135.6 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 72.39 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.16, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001854/0.1618, allocations: 0.6589 MB / 0.5851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.1622, allocations: 63.84 kB / 0.5852 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.1622, allocations: 0 / 0.5852 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.1623, allocations: 4 kB / 0.5852 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.1623, allocations: 11.94 kB / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.1626, allocations: 43.95 kB / 0.5853 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.1627, allocations: 27.91 kB / 0.5853 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.1627, allocations: 4 kB / 0.5853 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.793e-05/0.1628, allocations: 19.91 kB / 0.5853 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1629, allocations: 63.94 kB / 0.5854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.163, allocations: 4 kB / 0.5854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.1631, allocations: 39.95 kB / 0.5854 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.1631, allocations: 15.92 kB / 0.5854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.1632, allocations: 23.86 kB / 0.5855 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1634, allocations: 67.78 kB / 0.5855 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1634, allocations: 4 kB / 0.5855 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1634, allocations: 0 / 0.5855 GB, free: 3.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1634, allocations: 0 / 0.5855 GB, free: 3.27 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.0003972/0.1638, allocations: 367.6 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1638, allocations: 12.02 kB / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1639, allocations: 8.844 kB / 0.5859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.164, allocations: 172.3 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1641, allocations: 4.375 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.1641, allocations: 4.375 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1643, allocations: 183.4 kB / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1644, allocations: 0 / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1644, allocations: 4 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.1644, allocations: 15.98 kB / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1646, allocations: 47.84 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.1653, allocations: 0.9023 MB / 0.5872 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.1654, allocations: 177.1 kB / 0.5874 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.1655, allocations: 80.14 kB / 0.5874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1655, allocations: 75.28 kB / 0.5875 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.1656, allocations: 109.8 kB / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1656, allocations: 4 kB / 0.5876 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.219e-05/0.1657, allocations: 37.61 kB / 0.5877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002426/0.1659, allocations: 387.7 kB / 0.588 GB, free: 436 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1661, allocations: 166.8 kB / 0.5882 GB, free: 260 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1661, allocations: 25.7 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.1662, allocations: 155.1 kB / 0.5884 GB, free: 68 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-06/0.1662, allocations: 3.984 kB / 0.5884 GB, free: 64 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.1663, allocations: 57.61 kB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1665, allocations: 322.8 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.1665, allocations: 27.97 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1667, allocations: 224.8 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1669, allocations: 197.8 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1669, allocations: 0 / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002996/0.1672, allocations: 193.1 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1673, allocations: 8 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1673, allocations: 4 kB / 0.5893 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1673, allocations: 11.94 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1674, allocations: 43.92 kB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1675, allocations: 12.56 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.1675, allocations: 27.69 kB / 0.5894 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1676, allocations: 16 kB / 0.5895 GB, free: 14.76 MB / 0.4981 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.0001394/0.1677, allocations: 205 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.1678, allocations: 113 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1679, allocations: 116.8 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-05/0.168, allocations: 182 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.003e-05/0.1681, allocations: 192.1 kB / 0.5902 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001856/0.1683, allocations: 184.3 kB / 0.5904 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1686, allocations: 413.2 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/0.1687, allocations: 108.9 kB / 0.5909 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1687, allocations: 101 kB / 0.591 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.77e-05/0.1688, allocations: 196.1 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.1689, allocations: 176.3 kB / 0.5913 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-05/0.169, allocations: 184.2 kB / 0.5915 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.169, allocations: 180.2 kB / 0.5917 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1692, allocations: 319.7 kB / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.1693, allocations: 186 kB / 0.5922 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.1694, allocations: 176.5 kB / 0.5923 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.1695, allocations: 112.9 kB / 0.5925 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.1696, allocations: 188.3 kB / 0.5926 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.1696, allocations: 108.9 kB / 0.5927 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.1697, allocations: 113.1 kB / 0.5928 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1697, allocations: 4 kB / 0.5928 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003483/0.1701, allocations: 28 kB / 0.5929 GB, free: 11.03 MB / 0.4981 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.0002007/0.1703, allocations: 178.5 kB / 0.593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1704, allocations: 76.89 kB / 0.5931 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1704, allocations: 4.188 kB / 0.5931 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.1705, allocations: 0 / 0.5931 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.1708, allocations: 479.4 kB / 0.5936 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.1711, allocations: 248.7 kB / 0.5938 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1714, allocations: 0.7007 MB / 0.5945 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000213/0.1717, allocations: 52.59 kB / 0.5946 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.1717, allocations: 15.44 kB / 0.5946 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1717, allocations: 0 / 0.5946 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.004457/0.1762, allocations: 1.783 MB / 0.5963 GB, free: 7.48 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)