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.005922/0.005922, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001727/0.001727, allocations: 196.8 kB / 16.67 MB, free: 5.977 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4031/0.4031, allocations: 54.94 MB / 324.8 MB, free: 12 kB / 254.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.001484/0.001484, allocations: 68.2 kB / 456.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1398, allocations: 59.6 MB / 0.5038 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00183/0.1416, allocations: 0.5497 MB / 0.5044 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003833/0.142, allocations: 61.66 kB / 0.5044 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.1421, allocations: 4 kB / 0.5044 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.1421, allocations: 3.984 kB / 0.5044 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.1422, allocations: 7.844 kB / 0.5044 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1426, allocations: 45.09 kB / 0.5045 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.1427, allocations: 24.5 kB / 0.5045 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.1428, allocations: 2.219 kB / 0.5045 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.1428, allocations: 23.73 kB / 0.5045 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1431, allocations: 62.44 kB / 0.5046 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1431, allocations: 5.406 kB / 0.5046 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1432, allocations: 37.55 kB / 0.5046 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.1433, allocations: 21.02 kB / 0.5047 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.1433, allocations: 17.06 kB / 0.5047 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1435, allocations: 70.22 kB / 0.5047 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1435, allocations: 1.156 kB / 0.5047 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1435, allocations: 0 / 0.5047 GB, free: 8.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1435, allocations: 0 / 0.5047 GB, free: 8.859 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.0003815/0.1439, allocations: 360.3 kB / 0.5051 GB, free: 8.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.144, allocations: 12.22 kB / 0.5051 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.144, allocations: 5.812 kB / 0.5051 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.598e-05/0.1441, allocations: 164.3 kB / 0.5053 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1441, allocations: 2.25 kB / 0.5053 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1441, allocations: 10.25 kB / 0.5053 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.1444, allocations: 177.5 kB / 0.5054 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1444, allocations: 5.25 kB / 0.5054 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1444, allocations: 5.547 kB / 0.5054 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.1445, allocations: 27.31 kB / 0.5055 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.1445, allocations: 36.67 kB / 0.5055 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.1451, allocations: 0.9064 MB / 0.5064 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.1452, allocations: 166.6 kB / 0.5066 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.1452, allocations: 84.08 kB / 0.5066 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1452, allocations: 80.59 kB / 0.5067 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.1453, allocations: 119 kB / 0.5068 GB, free: 6.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.1453, allocations: 0 / 0.5068 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.177e-05/0.1453, allocations: 40.25 kB / 0.5069 GB, free: 6.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.1454, allocations: 388.9 kB / 0.5072 GB, free: 6.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1456, allocations: 166.7 kB / 0.5074 GB, free: 6.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1456, allocations: 36.44 kB / 0.5074 GB, free: 6.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.1457, allocations: 147.4 kB / 0.5076 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-06/0.1457, allocations: 9.312 kB / 0.5076 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.1457, allocations: 52.98 kB / 0.5076 GB, free: 5.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.1458, allocations: 321.6 kB / 0.5079 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1458, allocations: 23.11 kB / 0.508 GB, free: 5.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.146, allocations: 225 kB / 0.5082 GB, free: 5.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1461, allocations: 201.8 kB / 0.5084 GB, free: 5.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1462, allocations: 1.375 kB / 0.5084 GB, free: 5.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002941/0.1465, allocations: 188.4 kB / 0.5085 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1465, allocations: 12.19 kB / 0.5086 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1465, allocations: 12.11 kB / 0.5086 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1465, allocations: 6.875 kB / 0.5086 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1466, allocations: 42.17 kB / 0.5086 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1467, allocations: 9.438 kB / 0.5086 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.1468, allocations: 26.78 kB / 0.5086 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1468, allocations: 9.625 kB / 0.5087 GB, free: 4.91 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.0001058/0.1469, allocations: 208.2 kB / 0.5089 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.1469, allocations: 118.3 kB / 0.509 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.147, allocations: 120.9 kB / 0.5091 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.147, allocations: 177.6 kB / 0.5093 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/0.1471, allocations: 177.6 kB / 0.5094 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/0.1471, allocations: 185.6 kB / 0.5096 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1473, allocations: 416.2 kB / 0.51 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.1473, allocations: 112.9 kB / 0.5101 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.1473, allocations: 102.4 kB / 0.5102 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.051e-05/0.1473, allocations: 185.6 kB / 0.5104 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.1474, allocations: 180.2 kB / 0.5106 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.122e-05/0.1474, allocations: 181.6 kB / 0.5107 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.168e-05/0.1474, allocations: 181.6 kB / 0.5109 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.924e-05/0.1476, allocations: 315.9 kB / 0.5112 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.1476, allocations: 196.6 kB / 0.5114 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1477, allocations: 179 kB / 0.5116 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1478, allocations: 111.7 kB / 0.5117 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1478, allocations: 185.6 kB / 0.5118 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.1478, allocations: 104.9 kB / 0.5119 GB, free: 1.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.1479, allocations: 118.4 kB / 0.5121 GB, free: 1.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1479, allocations: 0 / 0.5121 GB, free: 1.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1482, allocations: 27.38 kB / 0.5121 GB, free: 1.281 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.0001815/0.1484, allocations: 185.5 kB / 0.5123 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1486, allocations: 78.91 kB / 0.5123 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1486, allocations: 0 / 0.5123 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1486, allocations: 1.344 kB / 0.5123 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1489, allocations: 468.6 kB / 0.5128 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.1492, allocations: 246.9 kB / 0.513 GB, free: 416 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1495, allocations: 0.6896 MB / 0.5137 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.1497, allocations: 56.7 kB / 0.5137 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.1497, allocations: 14.31 kB / 0.5138 GB, free: 15.67 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1497, allocations: 0 / 0.5138 GB, free: 15.67 MB / 398.1 MB Notification: Performance of Templates: time 0.004971/0.1547, allocations: 1.677 MB / 0.5154 GB, free: 14.26 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)