Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 162.4 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8038/0.8038, allocations: 101.3 MB / 361.1 MB, free: 9.516 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 64.62 kB / 0.5357 GB, free: 5.16 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1407, allocations: 85.88 MB / 0.6195 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001645/0.1424, allocations: 0.6031 MB / 0.6201 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002894/0.1427, allocations: 67.86 kB / 0.6202 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.1427, allocations: 3.938 kB / 0.6202 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.1427, allocations: 0 / 0.6202 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.1428, allocations: 4 kB / 0.6202 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.143, allocations: 44.28 kB / 0.6202 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.1431, allocations: 27.97 kB / 0.6203 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1431, allocations: 11.98 kB / 0.6203 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1432, allocations: 11.94 kB / 0.6203 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1434, allocations: 63.94 kB / 0.6203 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1434, allocations: 0 / 0.6203 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1435, allocations: 51.88 kB / 0.6204 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.1435, allocations: 19.92 kB / 0.6204 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.1435, allocations: 15.86 kB / 0.6204 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1437, allocations: 67.73 kB / 0.6205 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1437, allocations: 0 / 0.6205 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1437, allocations: 0 / 0.6205 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1437, allocations: 0 / 0.6205 GB, free: 0.5312 MB / 0.5137 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.0003571/0.144, allocations: 302.1 kB / 0.6208 GB, free: 208 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.1441, allocations: 12.03 kB / 0.6208 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.1441, allocations: 8.891 kB / 0.6208 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.1442, allocations: 106.5 kB / 0.6209 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1442, allocations: 8.312 kB / 0.6209 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1442, allocations: 4.375 kB / 0.6209 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.1447, allocations: 440.5 kB / 0.6213 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1447, allocations: 0 / 0.6213 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1447, allocations: 3.938 kB / 0.6213 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.1447, allocations: 27.92 kB / 0.6214 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.1448, allocations: 39.91 kB / 0.6214 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.1455, allocations: 0.8513 MB / 0.6222 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1457, allocations: 169.1 kB / 0.6224 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.1457, allocations: 84.12 kB / 0.6225 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.1457, allocations: 79.28 kB / 0.6226 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/0.1458, allocations: 113.8 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1458, allocations: 0 / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.119e-05/0.1459, allocations: 37.66 kB / 0.6227 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/0.1461, allocations: 383.7 kB / 0.6231 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1463, allocations: 183.3 kB / 0.6232 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1463, allocations: 29.7 kB / 0.6233 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1464, allocations: 151.5 kB / 0.6234 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.1464, allocations: 3.984 kB / 0.6234 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.1465, allocations: 53.66 kB / 0.6235 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1467, allocations: 326.7 kB / 0.6238 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.215e-05/0.1467, allocations: 27.97 kB / 0.6238 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.1471, allocations: 479.6 kB / 0.6243 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.1473, allocations: 201.7 kB / 0.6245 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1473, allocations: 0 / 0.6245 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003219/0.1476, allocations: 193.4 kB / 0.6246 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1476, allocations: 8 kB / 0.6246 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1476, allocations: 4 kB / 0.6247 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1477, allocations: 4 kB / 0.6247 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1478, allocations: 39.92 kB / 0.6247 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1478, allocations: 11.92 kB / 0.6247 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.1479, allocations: 27.83 kB / 0.6247 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1479, allocations: 12.38 kB / 0.6247 GB, free: 11.62 MB / 0.5294 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.0001534/0.1481, allocations: 217 kB / 0.625 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.1482, allocations: 112.9 kB / 0.6251 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.719e-05/0.1482, allocations: 112.8 kB / 0.6252 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.175e-05/0.1483, allocations: 184.2 kB / 0.6253 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.611e-05/0.1484, allocations: 188.2 kB / 0.6255 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.428e-05/0.1485, allocations: 180.2 kB / 0.6257 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.1488, allocations: 368.9 kB / 0.626 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-05/0.1488, allocations: 101 kB / 0.6261 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.1489, allocations: 108.9 kB / 0.6262 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/0.1489, allocations: 180.2 kB / 0.6264 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.149, allocations: 184.2 kB / 0.6266 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.19e-05/0.1491, allocations: 180.3 kB / 0.6268 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.963e-05/0.1492, allocations: 180.3 kB / 0.6269 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1494, allocations: 315.7 kB / 0.6272 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.1495, allocations: 120.8 kB / 0.6274 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.1496, allocations: 184.3 kB / 0.6275 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1497, allocations: 109.2 kB / 0.6276 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.1498, allocations: 188.2 kB / 0.6278 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.1498, allocations: 105 kB / 0.6279 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.615e-05/0.1499, allocations: 113.1 kB / 0.628 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1499, allocations: 4 kB / 0.628 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003116/0.1502, allocations: 28 kB / 0.6281 GB, free: 8.043 MB / 0.5294 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.0001874/0.1504, allocations: 190.3 kB / 0.6282 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1506, allocations: 72.88 kB / 0.6283 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1506, allocations: 4 kB / 0.6283 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.1506, allocations: 4.25 kB / 0.6283 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.151, allocations: 470.4 kB / 0.6288 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.1513, allocations: 224.5 kB / 0.629 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.398e-05/0.1514, allocations: 83.95 kB / 0.6291 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.1516, allocations: 52.59 kB / 0.6291 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1516, allocations: 16.5 kB / 0.6291 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1516, allocations: 0 / 0.6291 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.004592/0.1562, allocations: 1.803 MB / 0.6309 GB, free: 5.16 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.223465178976767] Failed to read output from testmodel.py, exit status != 0: 0.16323375806678087 0.178352223 0.031653698 Calling exit ...