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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 105.9 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 227.2 MB, free: 12.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.303/0.303, allocations: 54.96 MB / 331.6 MB, free: 2.746 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "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.00219/0.00219, allocations: 81.3 kB / 464.9 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1375, allocations: 59.59 MB / 0.5122 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002243/0.1399, allocations: 0.5641 MB / 0.5128 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.1403, allocations: 71.84 kB / 0.5129 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.1404, allocations: 4 kB / 0.5129 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.1405, allocations: 3.938 kB / 0.5129 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.1405, allocations: 7.938 kB / 0.5129 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1409, allocations: 43.88 kB / 0.5129 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.141, allocations: 23.92 kB / 0.5129 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.1411, allocations: 4 kB / 0.5129 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/0.1411, allocations: 11.98 kB / 0.5129 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1413, allocations: 67.88 kB / 0.513 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1414, allocations: 4 kB / 0.513 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1415, allocations: 39.95 kB / 0.5131 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.1415, allocations: 11.98 kB / 0.5131 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.1416, allocations: 27.8 kB / 0.5131 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1418, allocations: 63.8 kB / 0.5132 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1418, allocations: 0 / 0.5132 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1418, allocations: 0 / 0.5132 GB, free: 3.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1418, allocations: 0 / 0.5132 GB, free: 3.828 MB / 398.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.0004623/0.1423, allocations: 371.2 kB / 0.5135 GB, free: 3.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1423, allocations: 8.031 kB / 0.5135 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.1424, allocations: 12.89 kB / 0.5135 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1425, allocations: 168.3 kB / 0.5137 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1425, allocations: 8.359 kB / 0.5137 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1425, allocations: 384 / 0.5137 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.1428, allocations: 180.5 kB / 0.5139 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1429, allocations: 4 kB / 0.5139 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1429, allocations: 4 kB / 0.5139 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.1429, allocations: 23.91 kB / 0.5139 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.837e-05/0.143, allocations: 39.91 kB / 0.5139 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.1439, allocations: 0.8985 MB / 0.5148 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.144, allocations: 169.1 kB / 0.515 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.144, allocations: 80.14 kB / 0.5151 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.1441, allocations: 79.28 kB / 0.5151 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.028e-05/0.1442, allocations: 113.8 kB / 0.5152 GB, free: 1.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.1442, allocations: 3.938 kB / 0.5152 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.1443, allocations: 41.64 kB / 0.5153 GB, free: 1.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002802/0.1446, allocations: 387.7 kB / 0.5157 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1448, allocations: 170.4 kB / 0.5158 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1448, allocations: 25.7 kB / 0.5158 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1449, allocations: 159.5 kB / 0.516 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-06/0.145, allocations: 0 / 0.516 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.145, allocations: 57.66 kB / 0.516 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1452, allocations: 318.8 kB / 0.5163 GB, free: 244 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.1453, allocations: 27.97 kB / 0.5164 GB, free: 216 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1455, allocations: 225.9 kB / 0.5166 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.1458, allocations: 201.7 kB / 0.5168 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1458, allocations: 0 / 0.5168 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003457/0.1461, allocations: 193.1 kB / 0.517 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1462, allocations: 12.59 kB / 0.517 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1462, allocations: 4 kB / 0.517 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.1462, allocations: 12 kB / 0.517 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1463, allocations: 35.92 kB / 0.517 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1464, allocations: 8 kB / 0.517 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.1465, allocations: 23.83 kB / 0.5171 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1465, allocations: 19.94 kB / 0.5171 GB, free: 15.33 MB / 414.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.0001615/0.1467, allocations: 221.6 kB / 0.5173 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.1468, allocations: 112.9 kB / 0.5174 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.1468, allocations: 120.8 kB / 0.5175 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-05/0.1469, allocations: 180.2 kB / 0.5177 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.118e-05/0.147, allocations: 180.3 kB / 0.5179 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.923e-05/0.1471, allocations: 181.2 kB / 0.518 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.1474, allocations: 421.2 kB / 0.5184 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/0.1474, allocations: 105 kB / 0.5185 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.1475, allocations: 104.9 kB / 0.5186 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.9e-05/0.1476, allocations: 180.2 kB / 0.5188 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.281e-05/0.1477, allocations: 196.2 kB / 0.519 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.915e-05/0.1477, allocations: 176.3 kB / 0.5192 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/0.1478, allocations: 176.3 kB / 0.5193 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.148, allocations: 320 kB / 0.5196 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1481, allocations: 197.9 kB / 0.5198 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.1482, allocations: 176.3 kB / 0.52 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.1483, allocations: 109 kB / 0.5201 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.1484, allocations: 188.2 kB / 0.5203 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.1485, allocations: 105 kB / 0.5204 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.1486, allocations: 115.2 kB / 0.5205 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1486, allocations: 0 / 0.5205 GB, free: 11.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.1489, allocations: 28 kB / 0.5205 GB, free: 11.59 MB / 414.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.0002271/0.1492, allocations: 181.8 kB / 0.5207 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1493, allocations: 79.78 kB / 0.5208 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1494, allocations: 0 / 0.5208 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1494, allocations: 0 / 0.5208 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.1498, allocations: 476.9 kB / 0.5212 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.1501, allocations: 232.6 kB / 0.5214 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1505, allocations: 0.6929 MB / 0.5221 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.1507, allocations: 52.59 kB / 0.5222 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1507, allocations: 15.53 kB / 0.5222 GB, free: 9.816 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1508, allocations: 3.938 kB / 0.5222 GB, free: 9.812 MB / 414.1 MB Notification: Performance of Templates: time 0.004747/0.1555, allocations: 1.687 MB / 0.5238 GB, free: 8.164 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.100773587822914]