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.0009595/0.0009595, allocations: 93.06 kB / 19.65 MB, free: 280 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.001748/0.001748, allocations: 165 kB / 23.02 MB, free: 1.551 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.021/1.021, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8831/0.8831, allocations: 154.6 MB / 414.5 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5204 GB, free: 1.082 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.242e-05, allocations: 5.047 kB / 0.5204 GB, free: 1.078 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001131/0.001153, allocations: 0.6203 MB / 0.521 GB, free: 488 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002879/0.001441, allocations: 68.41 kB / 0.521 GB, free: 420 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.001465, allocations: 0.9688 kB / 0.521 GB, free: 420 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.001507, allocations: 7.922 kB / 0.5211 GB, free: 412 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.001555, allocations: 7.109 kB / 0.5211 GB, free: 408 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.001848, allocations: 39.94 kB / 0.5211 GB, free: 368 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.001908, allocations: 25.97 kB / 0.5211 GB, free: 344 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.001946, allocations: 11.97 kB / 0.5211 GB, free: 332 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.001984, allocations: 20.61 kB / 0.5212 GB, free: 312 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.002162, allocations: 69.86 kB / 0.5212 GB, free: 244 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.002177, allocations: 0 / 0.5212 GB, free: 244 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.002263, allocations: 43.92 kB / 0.5213 GB, free: 200 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.002297, allocations: 23.86 kB / 0.5213 GB, free: 176 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.002326, allocations: 15.92 kB / 0.5213 GB, free: 160 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.002454, allocations: 71.84 kB / 0.5214 GB, free: 88 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002456, allocations: 0.5625 kB / 0.5214 GB, free: 88 kB / 442.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002456, allocations: 0.7812 kB / 0.5214 GB, free: 88 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.00246, allocations: 0 / 0.5214 GB, free: 88 kB / 442.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.0003113/0.002771, allocations: 388.7 kB / 0.5217 GB, free: 15.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.00281, allocations: 13.47 kB / 0.5218 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.002848, allocations: 9.234 kB / 0.5218 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.64e-05/0.002905, allocations: 116.4 kB / 0.5219 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.002916, allocations: 4.375 kB / 0.5219 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.00293, allocations: 5.156 kB / 0.5219 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.003153, allocations: 390.8 kB / 0.5223 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.003163, allocations: 5.219 kB / 0.5223 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.003174, allocations: 4.125 kB / 0.5223 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.00322, allocations: 27.97 kB / 0.5223 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.003259, allocations: 26.8 kB / 0.5223 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.003849, allocations: 1.215 MB / 0.5235 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.003932, allocations: 269.4 kB / 0.5238 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.003967, allocations: 134.8 kB / 0.5239 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.003993, allocations: 119.2 kB / 0.524 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.004041, allocations: 160.5 kB / 0.5242 GB, free: 12.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.004042, allocations: 0 / 0.5242 GB, free: 12.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.028e-05/0.004102, allocations: 34.28 kB / 0.5242 GB, free: 12.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.004226, allocations: 435.6 kB / 0.5246 GB, free: 12.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.004355, allocations: 229.2 kB / 0.5248 GB, free: 12.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.004367, allocations: 25.7 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.004447, allocations: 206.2 kB / 0.525 GB, free: 11.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.004451, allocations: 4.969 kB / 0.5251 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.0045, allocations: 63.25 kB / 0.5251 GB, free: 11.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.004617, allocations: 0.4923 MB / 0.5256 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.004642, allocations: 16.88 kB / 0.5256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.004856, allocations: 0.5393 MB / 0.5261 GB, free: 10.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.004994, allocations: 248.2 kB / 0.5264 GB, free: 10.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.004997, allocations: 0 / 0.5264 GB, free: 10.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002007/0.005197, allocations: 179.8 kB / 0.5265 GB, free: 10.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.005218, allocations: 8 kB / 0.5266 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.005226, allocations: 7.984 kB / 0.5266 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.005244, allocations: 4 kB / 0.5266 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.005334, allocations: 43.92 kB / 0.5266 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.005342, allocations: 4 kB / 0.5266 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.005395, allocations: 19.89 kB / 0.5266 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.005409, allocations: 25.73 kB / 0.5267 GB, free: 10.04 MB / 458.7 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 9.95e-05/0.005508, allocations: 291.6 kB / 0.5269 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.005561, allocations: 160.8 kB / 0.5271 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.005613, allocations: 160.7 kB / 0.5272 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-05/0.005675, allocations: 282 kB / 0.5275 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-05/0.005731, allocations: 264.1 kB / 0.5278 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/0.005784, allocations: 264.1 kB / 0.528 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.005954, allocations: 0.5154 MB / 0.5285 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/0.005984, allocations: 144.9 kB / 0.5287 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.00602, allocations: 155.6 kB / 0.5288 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.958e-05/0.006079, allocations: 268.1 kB / 0.5291 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.006137, allocations: 264.1 kB / 0.5293 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.729e-05/0.006205, allocations: 268 kB / 0.5296 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-05/0.006263, allocations: 272.1 kB / 0.5298 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.006381, allocations: 455.8 kB / 0.5303 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.006422, allocations: 152.8 kB / 0.5304 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.006492, allocations: 277.7 kB / 0.5307 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.006e-05/0.006552, allocations: 148.9 kB / 0.5308 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.006616, allocations: 272 kB / 0.5311 GB, free: 5.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.006648, allocations: 144.9 kB / 0.5312 GB, free: 5.184 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.408e-05/0.006712, allocations: 153 kB / 0.5314 GB, free: 5.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006712, allocations: 0.5312 kB / 0.5314 GB, free: 5.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.006917, allocations: 30.31 kB / 0.5314 GB, free: 5.008 MB / 458.7 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.0001392/0.007056, allocations: 226.4 kB / 0.5316 GB, free: 4.777 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.007179, allocations: 78.44 kB / 0.5317 GB, free: 4.699 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.007182, allocations: 4 kB / 0.5317 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.007183, allocations: 0 / 0.5317 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.007473, allocations: 0.719 MB / 0.5324 GB, free: 3.973 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.007713, allocations: 273.7 kB / 0.5326 GB, free: 3.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.007751, allocations: 63.94 kB / 0.5327 GB, free: 3.594 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.355e-05/0.007845, allocations: 51.28 kB / 0.5327 GB, free: 3.555 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.007865, allocations: 16.5 kB / 0.5328 GB, free: 3.539 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007866, allocations: 0 / 0.5328 GB, free: 3.539 MB / 458.7 MB Notification: Performance of Templates: time 0.003367/0.01123, allocations: 1.821 MB / 0.5345 GB, free: 1.871 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.106624168809503]