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.007138/0.007138, allocations: 101.3 kB / 15.88 MB, free: 5.871 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.001762/0.001762, allocations: 193.4 kB / 16.79 MB, free: 5.816 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.913/0.913, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 65.5 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.163, allocations: 80.93 MB / 0.5844 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001943/0.165, allocations: 0.6465 MB / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.1654, allocations: 75.78 kB / 0.5851 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.1654, allocations: 0 / 0.5851 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.1655, allocations: 4 kB / 0.5851 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.1655, allocations: 7.984 kB / 0.5851 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1658, allocations: 39.95 kB / 0.5851 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.1658, allocations: 31.84 kB / 0.5851 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1659, allocations: 4 kB / 0.5851 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.26e-05/0.1659, allocations: 11.98 kB / 0.5852 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1661, allocations: 67.86 kB / 0.5852 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1661, allocations: 4 kB / 0.5852 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.1662, allocations: 31.97 kB / 0.5853 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.1663, allocations: 23.97 kB / 0.5853 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.1663, allocations: 23.81 kB / 0.5853 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.763e-05/0.1664, allocations: 43.92 kB / 0.5853 GB, free: 3.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1664, allocations: 0 / 0.5853 GB, free: 3.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1664, allocations: 0 / 0.5853 GB, free: 3.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1664, allocations: 0 / 0.5853 GB, free: 3.973 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.0003627/0.1668, allocations: 363.7 kB / 0.5857 GB, free: 3.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1668, allocations: 12.03 kB / 0.5857 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.1669, allocations: 8.844 kB / 0.5857 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/0.167, allocations: 168.3 kB / 0.5859 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.167, allocations: 4.375 kB / 0.5859 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.167, allocations: 4.375 kB / 0.5859 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1672, allocations: 179.4 kB / 0.5861 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1673, allocations: 0 / 0.5861 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1673, allocations: 0 / 0.5861 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.1673, allocations: 27.98 kB / 0.5861 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.1674, allocations: 43.78 kB / 0.5861 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.168, allocations: 0.9062 MB / 0.587 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.547e-05/0.1681, allocations: 177.1 kB / 0.5872 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.1681, allocations: 80.14 kB / 0.5873 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.1682, allocations: 79.27 kB / 0.5873 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.1682, allocations: 109.8 kB / 0.5874 GB, free: 1.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1682, allocations: 0 / 0.5874 GB, free: 1.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.902e-05/0.1683, allocations: 41.55 kB / 0.5875 GB, free: 1.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002967/0.1686, allocations: 387.7 kB / 0.5878 GB, free: 1.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1688, allocations: 171.3 kB / 0.588 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1688, allocations: 25.7 kB / 0.588 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.1689, allocations: 143.2 kB / 0.5882 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.819e-06/0.1689, allocations: 7.984 kB / 0.5882 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.169, allocations: 57.61 kB / 0.5882 GB, free: 0.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1691, allocations: 318.8 kB / 0.5885 GB, free: 396 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.1692, allocations: 27.97 kB / 0.5886 GB, free: 368 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.1694, allocations: 226.5 kB / 0.5888 GB, free: 44 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1697, allocations: 193.9 kB / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1697, allocations: 4 kB / 0.589 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002978/0.17, allocations: 193.1 kB / 0.5891 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.17, allocations: 4 kB / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1701, allocations: 8 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1701, allocations: 8.594 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1702, allocations: 39.92 kB / 0.5892 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1702, allocations: 15.92 kB / 0.5892 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.1703, allocations: 31.69 kB / 0.5893 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1703, allocations: 8 kB / 0.5893 GB, free: 15.47 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.0002163/0.1706, allocations: 213 kB / 0.5895 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.1706, allocations: 112.9 kB / 0.5896 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.1707, allocations: 112.9 kB / 0.5897 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.239e-05/0.1708, allocations: 184.2 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.852e-05/0.1709, allocations: 189.9 kB / 0.59 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/0.1709, allocations: 176.3 kB / 0.5902 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1712, allocations: 421.2 kB / 0.5906 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/0.1712, allocations: 101 kB / 0.5907 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.1713, allocations: 113 kB / 0.5908 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.1714, allocations: 184.2 kB / 0.591 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.1715, allocations: 176.3 kB / 0.5912 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.816e-05/0.1715, allocations: 188.1 kB / 0.5913 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.476e-05/0.1716, allocations: 184.2 kB / 0.5915 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1717, allocations: 315.7 kB / 0.5918 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.1718, allocations: 186.1 kB / 0.592 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.1719, allocations: 188.4 kB / 0.5922 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.172, allocations: 108.9 kB / 0.5923 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.1721, allocations: 184.2 kB / 0.5924 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.1721, allocations: 105 kB / 0.5925 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.998e-05/0.1722, allocations: 122.1 kB / 0.5927 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1722, allocations: 0 / 0.5927 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003401/0.1725, allocations: 28 kB / 0.5927 GB, free: 11.73 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.0002054/0.1728, allocations: 186.5 kB / 0.5929 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1729, allocations: 76.84 kB / 0.5929 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1729, allocations: 3.828 kB / 0.5929 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.606e-06/0.1729, allocations: 4 kB / 0.5929 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1733, allocations: 0.5397 MB / 0.5935 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.1736, allocations: 272.5 kB / 0.5937 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.174, allocations: 0.6932 MB / 0.5944 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.174, allocations: 15.44 kB / 0.5944 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.174, allocations: 0 / 0.5944 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of Templates: time 0.003254/0.1773, allocations: 1.696 MB / 0.5961 GB, free: 8.215 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)