Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.005687/0.005687, allocations: 102.7 kB / 15.73 MB, free: 6.488 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: 195.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4148/0.4148, allocations: 54.95 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 75.95 kB / 456.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1598, allocations: 59.6 MB / 0.5037 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001804/0.1617, allocations: 0.5506 MB / 0.5043 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.1621, allocations: 70 kB / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.1621, allocations: 0 / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.1621, allocations: 3.938 kB / 0.5043 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.1622, allocations: 7.641 kB / 0.5043 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.1626, allocations: 46.14 kB / 0.5044 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.1626, allocations: 31.95 kB / 0.5044 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.1627, allocations: 2.531 kB / 0.5044 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.1627, allocations: 18.52 kB / 0.5044 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1629, allocations: 59.45 kB / 0.5045 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.163, allocations: 1.125 kB / 0.5045 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1631, allocations: 41.42 kB / 0.5045 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.1631, allocations: 21.33 kB / 0.5046 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.1632, allocations: 21.52 kB / 0.5046 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1633, allocations: 62.39 kB / 0.5046 GB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1633, allocations: 0 / 0.5046 GB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1633, allocations: 0 / 0.5046 GB, free: 9.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1633, allocations: 4 kB / 0.5046 GB, free: 9.047 MB / 382.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.0003433/0.1637, allocations: 367.5 kB / 0.505 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1637, allocations: 9.562 kB / 0.505 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1638, allocations: 4.406 kB / 0.505 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.1639, allocations: 165.8 kB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1639, allocations: 2.062 kB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1639, allocations: 2.125 kB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1642, allocations: 189.9 kB / 0.5054 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1642, allocations: 7.922 kB / 0.5054 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1642, allocations: 2.812 kB / 0.5054 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.1643, allocations: 18.92 kB / 0.5054 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.1644, allocations: 40.31 kB / 0.5054 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.1649, allocations: 0.9106 MB / 0.5063 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/0.165, allocations: 170.4 kB / 0.5065 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.165, allocations: 80.14 kB / 0.5065 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1651, allocations: 76.66 kB / 0.5066 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1651, allocations: 118.9 kB / 0.5067 GB, free: 6.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1651, allocations: 0 / 0.5067 GB, free: 6.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.32e-05/0.1652, allocations: 36.3 kB / 0.5068 GB, free: 6.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.1653, allocations: 392.9 kB / 0.5071 GB, free: 6.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1654, allocations: 166.8 kB / 0.5073 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1654, allocations: 27.08 kB / 0.5073 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1655, allocations: 148.8 kB / 0.5075 GB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.1655, allocations: 5.375 kB / 0.5075 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.1656, allocations: 52.98 kB / 0.5075 GB, free: 6.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.1657, allocations: 321.6 kB / 0.5078 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.1657, allocations: 23.11 kB / 0.5079 GB, free: 5.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1658, allocations: 229 kB / 0.5081 GB, free: 5.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.166, allocations: 201.7 kB / 0.5083 GB, free: 5.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.166, allocations: 1.375 kB / 0.5083 GB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002963/0.1663, allocations: 192.1 kB / 0.5084 GB, free: 5.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1663, allocations: 10.81 kB / 0.5085 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1664, allocations: 5.5 kB / 0.5085 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.1664, allocations: 5.5 kB / 0.5085 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1665, allocations: 43.55 kB / 0.5085 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.1665, allocations: 13.42 kB / 0.5085 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.1666, allocations: 22.78 kB / 0.5085 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1667, allocations: 13.62 kB / 0.5086 GB, free: 5.102 MB / 382.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.000102/0.1668, allocations: 212.5 kB / 0.5088 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.1668, allocations: 114.3 kB / 0.5089 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.1669, allocations: 113 kB / 0.509 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/0.1669, allocations: 185.6 kB / 0.5092 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/0.167, allocations: 177.6 kB / 0.5093 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/0.167, allocations: 184.2 kB / 0.5095 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1672, allocations: 416.2 kB / 0.5099 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/0.1672, allocations: 106.3 kB / 0.51 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.1673, allocations: 110.3 kB / 0.5101 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.58e-05/0.1673, allocations: 184.2 kB / 0.5103 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.1674, allocations: 181.6 kB / 0.5105 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.628e-05/0.1674, allocations: 181.6 kB / 0.5106 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-05/0.1675, allocations: 181.6 kB / 0.5108 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1676, allocations: 312 kB / 0.5111 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1676, allocations: 196.6 kB / 0.5113 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.1677, allocations: 189.6 kB / 0.5115 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1678, allocations: 113 kB / 0.5116 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1678, allocations: 176.3 kB / 0.5117 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1678, allocations: 102.4 kB / 0.5118 GB, free: 1.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.1679, allocations: 118.3 kB / 0.512 GB, free: 1.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1679, allocations: 3.938 kB / 0.512 GB, free: 1.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1682, allocations: 27.41 kB / 0.512 GB, free: 1.473 MB / 382.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.0001741/0.1684, allocations: 185.9 kB / 0.5122 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1686, allocations: 72.59 kB / 0.5122 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1686, allocations: 1.062 kB / 0.5122 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.1686, allocations: 4 kB / 0.5122 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1689, allocations: 471.8 kB / 0.5127 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.1692, allocations: 238.8 kB / 0.5129 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.1694, allocations: 0.6906 MB / 0.5136 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1696, allocations: 55.52 kB / 0.5136 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.1696, allocations: 18.28 kB / 0.5137 GB, free: 15.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.164e-06/0.1696, allocations: 0 / 0.5137 GB, free: 15.86 MB / 398.1 MB Notification: Performance of Templates: time 0.00438/0.174, allocations: 1.686 MB / 0.5153 GB, free: 14.37 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)