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.0009666/0.0009718, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9517/0.9517, allocations: 135.3 MB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 12 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 82.31 MB / 0.5886 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.000698/0.161, allocations: 331 kB / 0.5889 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.1613, allocations: 71.84 kB / 0.589 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.1613, allocations: 7.938 kB / 0.589 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.1614, allocations: 4 kB / 0.589 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.1614, allocations: 3.984 kB / 0.589 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1616, allocations: 39.89 kB / 0.5891 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.1617, allocations: 19.98 kB / 0.5891 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.1618, allocations: 7.984 kB / 0.5891 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.1618, allocations: 19.92 kB / 0.5891 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.162, allocations: 59.94 kB / 0.5892 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.162, allocations: 8 kB / 0.5892 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.1621, allocations: 35.95 kB / 0.5892 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.1622, allocations: 27.84 kB / 0.5892 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.1622, allocations: 45.58 kB / 0.5893 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.984e-05/0.1623, allocations: 39.94 kB / 0.5893 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1623, allocations: 0 / 0.5893 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1623, allocations: 3.984 kB / 0.5893 GB, free: 1.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1623, allocations: 0 / 0.5893 GB, free: 1.938 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.0002923/0.1626, allocations: 343.7 kB / 0.5896 GB, free: 1.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1627, allocations: 8.031 kB / 0.5896 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1627, allocations: 16.78 kB / 0.5897 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.1628, allocations: 168.4 kB / 0.5898 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1628, allocations: 384 / 0.5898 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.1628, allocations: 384 / 0.5898 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1631, allocations: 179.4 kB / 0.59 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1631, allocations: 0 / 0.59 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1631, allocations: 8 kB / 0.59 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.1632, allocations: 27.92 kB / 0.59 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.1632, allocations: 39.89 kB / 0.5901 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.1639, allocations: 0.9062 MB / 0.591 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/0.164, allocations: 173.1 kB / 0.5911 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.164, allocations: 80.14 kB / 0.5912 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.164, allocations: 75.28 kB / 0.5913 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.1641, allocations: 113.8 kB / 0.5914 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.465e-06/0.1641, allocations: 0 / 0.5914 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.836e-05/0.1642, allocations: 37.55 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.1643, allocations: 395.7 kB / 0.5918 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1645, allocations: 163.5 kB / 0.5919 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1645, allocations: 29.7 kB / 0.592 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.1646, allocations: 147.1 kB / 0.5921 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.1646, allocations: 4 kB / 0.5921 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.1646, allocations: 25.7 kB / 0.5921 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1647, allocations: 318.8 kB / 0.5924 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.1648, allocations: 31.91 kB / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.165, allocations: 224 kB / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1651, allocations: 201.7 kB / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1652, allocations: 0 / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000284/0.1654, allocations: 193.1 kB / 0.5931 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1655, allocations: 8 kB / 0.5931 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1655, allocations: 4.656 kB / 0.5931 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1655, allocations: 8 kB / 0.5931 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1656, allocations: 43.86 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1656, allocations: 8 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.1657, allocations: 27.69 kB / 0.5932 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1657, allocations: 12 kB / 0.5932 GB, free: 13.5 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.0001261/0.1659, allocations: 209 kB / 0.5934 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.166, allocations: 124.8 kB / 0.5935 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.166, allocations: 112.9 kB / 0.5936 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.288e-05/0.1661, allocations: 184.1 kB / 0.5938 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.249e-05/0.1662, allocations: 181.9 kB / 0.5939 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.442e-05/0.1662, allocations: 192.3 kB / 0.5941 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.1664, allocations: 417.2 kB / 0.5945 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.1665, allocations: 105 kB / 0.5946 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.1665, allocations: 108.9 kB / 0.5947 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/0.1666, allocations: 180.2 kB / 0.5949 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.1667, allocations: 176.3 kB / 0.5951 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.686e-05/0.1668, allocations: 188.1 kB / 0.5953 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.138e-05/0.1668, allocations: 176.3 kB / 0.5954 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.167, allocations: 315.8 kB / 0.5957 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.1671, allocations: 189.9 kB / 0.5959 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.1671, allocations: 180.3 kB / 0.5961 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.1672, allocations: 109.2 kB / 0.5962 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.1673, allocations: 184.2 kB / 0.5964 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.1673, allocations: 113 kB / 0.5965 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.222e-05/0.1674, allocations: 113.1 kB / 0.5966 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1674, allocations: 0 / 0.5966 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000312/0.1677, allocations: 28 kB / 0.5966 GB, free: 9.762 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.0001849/0.1679, allocations: 186.5 kB / 0.5968 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.1681, allocations: 80.16 kB / 0.5969 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1681, allocations: 0 / 0.5969 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1681, allocations: 0 / 0.5969 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1685, allocations: 0.5388 MB / 0.5974 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.1688, allocations: 276.2 kB / 0.5976 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.169, allocations: 0.6971 MB / 0.5983 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.1691, allocations: 19.38 kB / 0.5983 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1691, allocations: 0 / 0.5983 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.003303/0.1724, allocations: 1.69 MB / 0.6 GB, free: 6.238 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)