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.001411/0.001411, allocations: 88.72 kB / 19.44 MB, free: 356 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.001655/0.001655, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.321/1.321, allocations: 154.8 MB / 414.3 MB, free: 492 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 178] 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.783e-06/1.783e-06, allocations: 0 / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.664e-05, allocations: 4.562 kB / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001604/0.001631, allocations: 0.6199 MB / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003134/0.001944, allocations: 64.94 kB / 0.5206 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.001966, allocations: 4.969 kB / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.002003, allocations: 0 / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.002049, allocations: 12.88 kB / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.002337, allocations: 45.73 kB / 0.5206 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.0024, allocations: 19.98 kB / 0.5207 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.792e-05/0.002428, allocations: 0 / 0.5207 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.002477, allocations: 31.89 kB / 0.5207 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.002673, allocations: 68.42 kB / 0.5208 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.002687, allocations: 0.9062 kB / 0.5208 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.002799, allocations: 43.92 kB / 0.5208 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.002859, allocations: 17.16 kB / 0.5208 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.002887, allocations: 12 kB / 0.5208 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.003044, allocations: 79.7 kB / 0.5209 GB, free: 1.273 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.003048, allocations: 4 kB / 0.5209 GB, free: 1.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003049, allocations: 0.5 kB / 0.5209 GB, free: 1.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.003052, allocations: 1.781 kB / 0.5209 GB, free: 1.27 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.0003606/0.003413, allocations: 278.3 kB / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.003444, allocations: 8.031 kB / 0.5212 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.003498, allocations: 12.88 kB / 0.5212 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.003598, allocations: 113.7 kB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.003609, allocations: 2.094 kB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.003626, allocations: 12.31 kB / 0.5213 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.004074, allocations: 433.5 kB / 0.5217 GB, free: 296 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004081, allocations: 192 / 0.5217 GB, free: 296 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.004098, allocations: 9.688 kB / 0.5217 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.004145, allocations: 27.91 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.004216, allocations: 35.91 kB / 0.5218 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.005029, allocations: 0.8513 MB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.00514, allocations: 169.9 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.005186, allocations: 80.14 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.005229, allocations: 76.75 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.932e-05/0.005308, allocations: 121.7 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.005309, allocations: 0 / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.41e-05/0.005393, allocations: 37.59 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002409/0.005634, allocations: 389.1 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.005821, allocations: 175.9 kB / 0.5236 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.005845, allocations: 29.7 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.005961, allocations: 151.5 kB / 0.5238 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.005967, allocations: 8.797 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.006044, allocations: 49.66 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.006209, allocations: 321.9 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.006259, allocations: 31.91 kB / 0.5242 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.006673, allocations: 482.4 kB / 0.5247 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.006929, allocations: 202.6 kB / 0.5248 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006932, allocations: 2.906 kB / 0.5248 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003513/0.007283, allocations: 199.9 kB / 0.525 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.0073, allocations: 6.656 kB / 0.525 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.007309, allocations: 4 kB / 0.5251 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.007332, allocations: 8.688 kB / 0.5251 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.007476, allocations: 43.92 kB / 0.5251 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.014e-05/0.007506, allocations: 13.08 kB / 0.5251 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.007619, allocations: 31.84 kB / 0.5251 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.007636, allocations: 11.94 kB / 0.5252 GB, free: 12.38 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.0001607/0.007797, allocations: 213.7 kB / 0.5254 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.007892, allocations: 118.6 kB / 0.5255 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.007963, allocations: 108.8 kB / 0.5256 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.695e-05/0.00806, allocations: 180.2 kB / 0.5257 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001067/0.008167, allocations: 188.2 kB / 0.5259 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001283/0.008295, allocations: 182.7 kB / 0.5261 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.008593, allocations: 372.7 kB / 0.5265 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.708e-05/0.00865, allocations: 101 kB / 0.5266 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.008709, allocations: 109 kB / 0.5267 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.00881, allocations: 184.2 kB / 0.5268 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.008911, allocations: 176.4 kB / 0.527 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-05/0.009011, allocations: 180.2 kB / 0.5272 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.581e-05/0.009107, allocations: 186.9 kB / 0.5274 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.009334, allocations: 323.6 kB / 0.5277 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.009405, allocations: 108.9 kB / 0.5278 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/0.00989, allocations: 184.2 kB / 0.5279 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01, allocations: 108.9 kB / 0.528 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.01011, allocations: 188.2 kB / 0.5282 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/0.01017, allocations: 101 kB / 0.5283 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001102/0.01028, allocations: 120.1 kB / 0.5284 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 0 / 0.5284 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003289/0.01061, allocations: 25.03 kB / 0.5285 GB, free: 8.82 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.0002456/0.01086, allocations: 181.2 kB / 0.5286 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.01104, allocations: 83.48 kB / 0.5287 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01104, allocations: 0 / 0.5287 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.01105, allocations: 3.938 kB / 0.5287 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.01153, allocations: 467.7 kB / 0.5292 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.01189, allocations: 232.1 kB / 0.5294 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.01199, allocations: 79.84 kB / 0.5295 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.0122, allocations: 51.38 kB / 0.5295 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.01222, allocations: 17.34 kB / 0.5295 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01223, allocations: 0 / 0.5295 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of Templates: time 0.005506/0.01773, allocations: 1.821 MB / 0.5313 GB, free: 6.004 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.972587113967165]