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.001134/0.001134, allocations: 106.9 kB / 16.41 MB, free: 6.508 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.001215/0.001215, allocations: 187 kB / 17.34 MB, free: 5.742 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8293/0.8293, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.59 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1595, allocations: 80.92 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001937/0.1615, allocations: 0.5901 MB / 0.6659 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003555/0.1619, allocations: 67.84 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.162, allocations: 0 / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.162, allocations: 3.938 kB / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.1621, allocations: 11.92 kB / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1624, allocations: 43.89 kB / 0.666 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.1625, allocations: 23.97 kB / 0.6661 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1625, allocations: 4 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.1626, allocations: 15.98 kB / 0.6661 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1628, allocations: 67.88 kB / 0.6661 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1628, allocations: 0 / 0.6661 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1629, allocations: 35.97 kB / 0.6662 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.163, allocations: 19.97 kB / 0.6662 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.163, allocations: 23.81 kB / 0.6662 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1631, allocations: 75.72 kB / 0.6663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1632, allocations: 3.938 kB / 0.6663 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1632, allocations: 0 / 0.6663 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1632, allocations: 0 / 0.6663 GB, free: 4.766 MB / 0.4981 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.0003943/0.1636, allocations: 367.4 kB / 0.6666 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1636, allocations: 9.109 kB / 0.6667 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.1637, allocations: 8.844 kB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1638, allocations: 170.9 kB / 0.6668 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1638, allocations: 4.375 kB / 0.6668 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1638, allocations: 384 / 0.6668 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1641, allocations: 189.3 kB / 0.667 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1641, allocations: 0 / 0.667 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1642, allocations: 4 kB / 0.667 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.1642, allocations: 19.92 kB / 0.667 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.1643, allocations: 47.91 kB / 0.6671 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.1651, allocations: 0.9022 MB / 0.668 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.909e-05/0.1652, allocations: 169.5 kB / 0.6681 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.1652, allocations: 80.14 kB / 0.6682 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1652, allocations: 75.31 kB / 0.6683 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/0.1653, allocations: 117.8 kB / 0.6684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/0.1653, allocations: 7.922 kB / 0.6684 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.69e-05/0.1654, allocations: 37.61 kB / 0.6684 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.1656, allocations: 387.7 kB / 0.6688 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1658, allocations: 163.6 kB / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1658, allocations: 29.7 kB / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.1659, allocations: 147.1 kB / 0.6691 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1659, allocations: 7.984 kB / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.166, allocations: 49.7 kB / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1661, allocations: 322.8 kB / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.1662, allocations: 27.97 kB / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.1663, allocations: 218.5 kB / 0.6697 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1666, allocations: 205.7 kB / 0.6699 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1666, allocations: 0 / 0.6699 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003178/0.1669, allocations: 189.2 kB / 0.6701 GB, free: 400 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1669, allocations: 8 kB / 0.6701 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1669, allocations: 4 kB / 0.6701 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.167, allocations: 15.88 kB / 0.6701 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1671, allocations: 39.92 kB / 0.6702 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1671, allocations: 8.562 kB / 0.6702 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/0.1672, allocations: 35.67 kB / 0.6702 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1672, allocations: 12.09 kB / 0.6702 GB, free: 276 kB / 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.0001312/0.1674, allocations: 218.2 kB / 0.6704 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.1675, allocations: 116.9 kB / 0.6705 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.1675, allocations: 108.9 kB / 0.6706 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/0.1676, allocations: 184.1 kB / 0.6708 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.351e-05/0.1677, allocations: 188.2 kB / 0.671 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-05/0.1678, allocations: 184.2 kB / 0.6712 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.168, allocations: 417.2 kB / 0.6716 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/0.1681, allocations: 105 kB / 0.6717 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.1681, allocations: 108.9 kB / 0.6718 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.249e-05/0.1682, allocations: 176.3 kB / 0.6719 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.1683, allocations: 188.2 kB / 0.6721 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-05/0.1683, allocations: 180.2 kB / 0.6723 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.004e-05/0.1684, allocations: 180.3 kB / 0.6725 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1686, allocations: 315.7 kB / 0.6728 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.1687, allocations: 190 kB / 0.6729 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.1687, allocations: 176.3 kB / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.1688, allocations: 112.9 kB / 0.6732 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.1689, allocations: 184.5 kB / 0.6734 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.1689, allocations: 105 kB / 0.6735 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.169, allocations: 113.5 kB / 0.6736 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.169, allocations: 4 kB / 0.6736 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000328/0.1694, allocations: 28 kB / 0.6736 GB, free: 12.54 MB / 0.5137 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.0001965/0.1696, allocations: 182.5 kB / 0.6738 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1697, allocations: 84.61 kB / 0.6739 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.1698, allocations: 4.438 kB / 0.6739 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.1698, allocations: 0 / 0.6739 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1702, allocations: 463.7 kB / 0.6743 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.1705, allocations: 262.3 kB / 0.6746 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1708, allocations: 0.689 MB / 0.6753 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1708, allocations: 15.44 kB / 0.6753 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1708, allocations: 7.938 kB / 0.6753 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of Templates: time 0.004146/0.1749, allocations: 1.718 MB / 0.677 GB, free: 9.078 MB / 0.5137 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)