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.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.0009992/0.0009992, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001436/0.001436, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.137/1.137, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.828/0.828, allocations: 154.8 MB / 414.7 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.833e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001671/0.001699, allocations: 0.6204 MB / 0.5212 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000285/0.001984, allocations: 62.89 kB / 0.5213 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.002011, allocations: 4 kB / 0.5213 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.002052, allocations: 3.938 kB / 0.5213 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.002098, allocations: 11.92 kB / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.002434, allocations: 39.94 kB / 0.5213 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.002497, allocations: 28.47 kB / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.002535, allocations: 4.562 kB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.002573, allocations: 19.97 kB / 0.5214 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.002755, allocations: 68.67 kB / 0.5215 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.002771, allocations: 0 / 0.5215 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.002861, allocations: 52.45 kB / 0.5215 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.002896, allocations: 17.41 kB / 0.5215 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.00292, allocations: 15.97 kB / 0.5215 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.003062, allocations: 71.8 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003065, allocations: 0 / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.003066, allocations: 0.9375 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.003071, allocations: 0 / 0.5216 GB, free: 0.8789 MB / 490.7 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.000373/0.003444, allocations: 396.4 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.003488, allocations: 9.438 kB / 0.522 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.003532, allocations: 4.938 kB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.13e-05/0.003594, allocations: 116.5 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.003606, allocations: 1.531 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.003625, allocations: 12.38 kB / 0.5221 GB, free: 296 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.003886, allocations: 390.4 kB / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.003896, allocations: 1 kB / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.00391, allocations: 12.06 kB / 0.5225 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.003959, allocations: 23.97 kB / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.004001, allocations: 29.19 kB / 0.5226 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.004617, allocations: 1.219 MB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.004708, allocations: 261.4 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.004746, allocations: 132.2 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.004773, allocations: 119.2 kB / 0.5242 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.004832, allocations: 164.5 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.004833, allocations: 0.7812 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.588e-05/0.004919, allocations: 41.64 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.00507, allocations: 429.5 kB / 0.5248 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.005223, allocations: 231.9 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.00524, allocations: 29.7 kB / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.005335, allocations: 202.2 kB / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.005339, allocations: 0 / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.005405, allocations: 69.36 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.005555, allocations: 0.4884 MB / 0.5258 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.005582, allocations: 15.92 kB / 0.5258 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.005847, allocations: 0.5448 MB / 0.5264 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.006027, allocations: 239.7 kB / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.006035, allocations: 8 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002343/0.006269, allocations: 183.8 kB / 0.5268 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.006292, allocations: 10.03 kB / 0.5268 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.006299, allocations: 4 kB / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.006322, allocations: 8 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.00643, allocations: 35.92 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.006439, allocations: 8 kB / 0.5269 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.006505, allocations: 27.84 kB / 0.5269 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.006517, allocations: 12.94 kB / 0.5269 GB, free: 10.83 MB / 0.4948 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.0001236/0.006641, allocations: 299.6 kB / 0.5272 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.006713, allocations: 161.7 kB / 0.5273 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.006785, allocations: 156.8 kB / 0.5275 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.138e-05/0.006866, allocations: 270.9 kB / 0.5277 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003513/0.007217, allocations: 272.1 kB / 0.528 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/0.007277, allocations: 268.1 kB / 0.5283 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.007472, allocations: 0.5076 MB / 0.5288 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.007509, allocations: 148.8 kB / 0.5289 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.007546, allocations: 152.8 kB / 0.529 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-05/0.007614, allocations: 268.1 kB / 0.5293 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/0.007683, allocations: 268.1 kB / 0.5296 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.809e-05/0.007751, allocations: 274.8 kB / 0.5298 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.376e-05/0.007815, allocations: 264.1 kB / 0.5301 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.007988, allocations: 451.9 kB / 0.5305 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.008044, allocations: 160.8 kB / 0.5306 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/0.008127, allocations: 268.1 kB / 0.5309 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.008196, allocations: 148.9 kB / 0.531 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.008272, allocations: 268 kB / 0.5313 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.008322, allocations: 157.5 kB / 0.5315 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.008385, allocations: 147.1 kB / 0.5316 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008385, allocations: 1.562 kB / 0.5316 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002288/0.008614, allocations: 24 kB / 0.5316 GB, free: 5.801 MB / 0.4948 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.0001872/0.008802, allocations: 235.6 kB / 0.5318 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.008952, allocations: 77.91 kB / 0.5319 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008954, allocations: 0 / 0.5319 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.008956, allocations: 1.469 kB / 0.5319 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.009272, allocations: 0.7283 MB / 0.5326 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.009557, allocations: 265.7 kB / 0.5329 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.009596, allocations: 67.94 kB / 0.5329 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.009707, allocations: 59.39 kB / 0.533 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.009729, allocations: 16.5 kB / 0.533 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.00973, allocations: 0 / 0.533 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of Templates: time 0.003713/0.01344, allocations: 1.812 MB / 0.5348 GB, free: 2.641 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.138759770896286]