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.001005/0.001005, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009913/0.0009913, allocations: 169 kB / 23.27 MB, free: 1.219 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 0.9501/0.9501, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7971/0.7971, allocations: 154.9 MB / 415.1 MB, free: 260 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 2.154e-06/2.154e-06, allocations: 0 / 0.5212 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.056e-05, allocations: 4.688 kB / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001071/0.001092, allocations: 0.6162 MB / 0.5218 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.001336, allocations: 67.84 kB / 0.5219 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.001355, allocations: 0 / 0.5219 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.00138, allocations: 0.7812 kB / 0.5219 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.67e-05/0.001416, allocations: 14.25 kB / 0.5219 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.001643, allocations: 43.88 kB / 0.5219 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.001693, allocations: 26.75 kB / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.876e-05/0.001722, allocations: 4 kB / 0.5219 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.001755, allocations: 19.97 kB / 0.522 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.001914, allocations: 71.86 kB / 0.522 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.001928, allocations: 4 kB / 0.522 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.002001, allocations: 39.92 kB / 0.5221 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.002034, allocations: 15.94 kB / 0.5221 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.002049, allocations: 16.58 kB / 0.5221 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002157, allocations: 79.72 kB / 0.5222 GB, free: 484 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.002159, allocations: 1.281 kB / 0.5222 GB, free: 484 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002159, allocations: 0 / 0.5222 GB, free: 484 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.002164, allocations: 0 / 0.5222 GB, free: 484 kB / 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.0002466/0.00241, allocations: 397.4 kB / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.002441, allocations: 8.031 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.002462, allocations: 8.938 kB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.394e-05/0.002526, allocations: 113.5 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.002534, allocations: 4.375 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.002543, allocations: 5.375 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.00273, allocations: 383.6 kB / 0.5231 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.002736, allocations: 4.125 kB / 0.5231 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.002743, allocations: 5.094 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.002776, allocations: 23.98 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.00282, allocations: 24.72 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.003378, allocations: 1.196 MB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.003557, allocations: 266.6 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.00359, allocations: 126.9 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.00362, allocations: 131.1 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.00367, allocations: 152.6 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.003671, allocations: 0.625 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.957e-05/0.00372, allocations: 43.41 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.003847, allocations: 427.6 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.003962, allocations: 235.3 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.003974, allocations: 29.7 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.004119, allocations: 210.2 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.004121, allocations: 1.625 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.004163, allocations: 59.31 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.004272, allocations: 0.4962 MB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.004282, allocations: 11.94 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.00453, allocations: 0.5434 MB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.004656, allocations: 243 kB / 0.5271 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.004658, allocations: 6.094 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001438/0.004802, allocations: 159.9 kB / 0.5273 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.004812, allocations: 13.5 kB / 0.5273 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.004817, allocations: 4 kB / 0.5273 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.004829, allocations: 8 kB / 0.5273 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.004896, allocations: 39.92 kB / 0.5274 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.0049, allocations: 4.938 kB / 0.5274 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.004949, allocations: 27.84 kB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.004974, allocations: 12 kB / 0.5274 GB, free: 10.48 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.0001192/0.005093, allocations: 300.5 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.005189, allocations: 165.3 kB / 0.5279 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.005243, allocations: 160.7 kB / 0.528 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.495e-05/0.005338, allocations: 264.9 kB / 0.5283 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.852e-05/0.005396, allocations: 272 kB / 0.5285 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-05/0.005455, allocations: 268.7 kB / 0.5288 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.005701, allocations: 497.2 kB / 0.5292 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/0.005733, allocations: 152.9 kB / 0.5294 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.00577, allocations: 144.9 kB / 0.5295 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.686e-05/0.005827, allocations: 270.8 kB / 0.5298 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.005892, allocations: 268.1 kB / 0.53 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.025e-05/0.005962, allocations: 268 kB / 0.5303 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.167e-05/0.006024, allocations: 268.1 kB / 0.5306 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.00628, allocations: 459.9 kB / 0.531 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.006317, allocations: 148.8 kB / 0.5311 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.006383, allocations: 272 kB / 0.5314 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.006441, allocations: 156 kB / 0.5315 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.0065, allocations: 272 kB / 0.5318 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.006529, allocations: 148.9 kB / 0.5319 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.006573, allocations: 141.4 kB / 0.5321 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006573, allocations: 3.938 kB / 0.5321 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001856/0.006759, allocations: 31.98 kB / 0.5321 GB, free: 5.48 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.0001556/0.006915, allocations: 230.4 kB / 0.5323 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.007029, allocations: 70.69 kB / 0.5324 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.007033, allocations: 11.59 kB / 0.5324 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.007035, allocations: 3.938 kB / 0.5324 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.007368, allocations: 0.7179 MB / 0.5331 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.007558, allocations: 277.7 kB / 0.5334 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.007589, allocations: 60 kB / 0.5334 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.549e-05/0.007645, allocations: 23.23 kB / 0.5335 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.007764, allocations: 136 kB / 0.5336 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.007765, allocations: 0 / 0.5336 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.003051/0.01082, allocations: 1.841 MB / 0.5354 GB, free: 2.211 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: 3.771340978797525]