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.001073/0.001073, allocations: 69.98 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001259/0.001259, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.981/0.981, allocations: 177.1 MB / 204.5 MB, free: 5.105 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.8296/0.8296, allocations: 154.6 MB / 415.6 MB, free: 496 kB / 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.433e-06/1.433e-06, allocations: 0 / 0.5216 GB, free: 1.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.39e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001455/0.001469, allocations: 0.6249 MB / 0.5222 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.00171, allocations: 71.84 kB / 0.5223 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.001733, allocations: 0 / 0.5223 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.001767, allocations: 3.938 kB / 0.5223 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.001807, allocations: 9.703 kB / 0.5223 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.002057, allocations: 43.94 kB / 0.5223 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.002113, allocations: 23.92 kB / 0.5223 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.285e-05/0.002145, allocations: 5.562 kB / 0.5223 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.002199, allocations: 23.95 kB / 0.5224 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.002359, allocations: 67.92 kB / 0.5224 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.00237, allocations: 0 / 0.5224 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.002456, allocations: 52.55 kB / 0.5225 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.002486, allocations: 16 kB / 0.5225 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.002505, allocations: 13.39 kB / 0.5225 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.002617, allocations: 75.78 kB / 0.5226 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.00262, allocations: 3.984 kB / 0.5226 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.00262, allocations: 0 / 0.5226 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.002624, allocations: 1.344 kB / 0.5226 GB, free: 0.8125 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.0002648/0.002888, allocations: 388.5 kB / 0.523 GB, free: 404 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.002919, allocations: 12.03 kB / 0.523 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.00295, allocations: 9.797 kB / 0.523 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.031e-05/0.00301, allocations: 120.5 kB / 0.5231 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.003019, allocations: 3.406 kB / 0.5231 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.003029, allocations: 4.375 kB / 0.5231 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.003259, allocations: 387.9 kB / 0.5235 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.003266, allocations: 192 / 0.5235 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.003279, allocations: 8.125 kB / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.003319, allocations: 19.98 kB / 0.5235 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.746e-05/0.003357, allocations: 31.89 kB / 0.5235 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.003869, allocations: 1.188 MB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.13e-05/0.00395, allocations: 269.4 kB / 0.5249 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.003982, allocations: 127.4 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.004008, allocations: 119.8 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.004053, allocations: 157.3 kB / 0.5253 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.004054, allocations: 0 / 0.5253 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.233e-05/0.004116, allocations: 42.19 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.004252, allocations: 431.6 kB / 0.5258 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.00437, allocations: 235.6 kB / 0.526 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.004383, allocations: 29.7 kB / 0.526 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.004467, allocations: 198.2 kB / 0.5262 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.004472, allocations: 8 kB / 0.5262 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.004529, allocations: 60.23 kB / 0.5263 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.004648, allocations: 0.4923 MB / 0.5268 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.004662, allocations: 9.406 kB / 0.5268 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.004891, allocations: 0.5518 MB / 0.5273 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.005052, allocations: 240.7 kB / 0.5275 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.005055, allocations: 3.938 kB / 0.5276 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002074/0.005262, allocations: 172.5 kB / 0.5277 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.005274, allocations: 6.438 kB / 0.5277 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.005281, allocations: 8 kB / 0.5277 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.005292, allocations: 4 kB / 0.5277 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.005385, allocations: 40.61 kB / 0.5278 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.005391, allocations: 4 kB / 0.5278 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.005469, allocations: 28.34 kB / 0.5278 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.005479, allocations: 9.688 kB / 0.5278 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.0001102/0.005589, allocations: 303.6 kB / 0.5281 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.005652, allocations: 160.8 kB / 0.5283 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.005963, allocations: 156.8 kB / 0.5284 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-05/0.006032, allocations: 270.5 kB / 0.5287 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.689e-05/0.006099, allocations: 272.1 kB / 0.5289 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/0.006165, allocations: 264.1 kB / 0.5292 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.006365, allocations: 0.4926 MB / 0.5297 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/0.006402, allocations: 144.9 kB / 0.5298 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.006434, allocations: 148.8 kB / 0.5299 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.006493, allocations: 270.6 kB / 0.5302 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.006556, allocations: 276 kB / 0.5305 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.787e-05/0.006614, allocations: 264.1 kB / 0.5307 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.863e-05/0.006672, allocations: 268.1 kB / 0.531 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.006807, allocations: 451.9 kB / 0.5314 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.006853, allocations: 156.8 kB / 0.5315 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.006926, allocations: 272.1 kB / 0.5318 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.007002, allocations: 149.9 kB / 0.5319 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.007066, allocations: 272 kB / 0.5322 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.0071, allocations: 148.9 kB / 0.5323 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.007152, allocations: 147.5 kB / 0.5325 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007152, allocations: 0 / 0.5325 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002848/0.007437, allocations: 29.53 kB / 0.5325 GB, free: 5.836 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.0001343/0.007571, allocations: 234.4 kB / 0.5327 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.007683, allocations: 78.16 kB / 0.5328 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007685, allocations: 0.5312 kB / 0.5328 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.007686, allocations: 0 / 0.5328 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.008035, allocations: 0.7227 MB / 0.5335 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.008257, allocations: 269.7 kB / 0.5338 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.008299, allocations: 65.45 kB / 0.5338 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.203e-05/0.008381, allocations: 23.7 kB / 0.5339 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.008532, allocations: 137.2 kB / 0.534 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.008533, allocations: 0 / 0.534 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.003605/0.01214, allocations: 1.847 MB / 0.5358 GB, free: 2.566 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.002088976092637]