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.0009764/0.0009764, allocations: 73.97 kB / 20.66 MB, free: 3.84 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.001083/0.001083, allocations: 173 kB / 24.06 MB, free: 448 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.9442/0.9442, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8545/0.8545, allocations: 154.9 MB / 415.9 MB, free: 236 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.323e-06/1.323e-06, allocations: 0 / 0.5219 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.088e-05, allocations: 3.938 kB / 0.522 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001133/0.001154, allocations: 0.613 MB / 0.5226 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000247/0.001401, allocations: 65.12 kB / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.001424, allocations: 1.781 kB / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.001463, allocations: 0 / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.001511, allocations: 13.45 kB / 0.5226 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.001782, allocations: 45.75 kB / 0.5227 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.735e-05/0.001839, allocations: 27.91 kB / 0.5227 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.001874, allocations: 4 kB / 0.5227 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.00191, allocations: 17.62 kB / 0.5227 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.002069, allocations: 75.84 kB / 0.5228 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.002082, allocations: 4 kB / 0.5228 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.104e-05/0.002163, allocations: 39.94 kB / 0.5228 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.002193, allocations: 15.98 kB / 0.5228 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.002211, allocations: 16.67 kB / 0.5229 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.002328, allocations: 79.73 kB / 0.5229 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00233, allocations: 1.406 kB / 0.5229 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002331, allocations: 0 / 0.5229 GB, free: 480 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.002334, allocations: 0 / 0.5229 GB, free: 480 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.000275/0.002609, allocations: 396.4 kB / 0.5233 GB, free: 44 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.002644, allocations: 9.375 kB / 0.5233 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.002674, allocations: 8.938 kB / 0.5233 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.786e-05/0.002752, allocations: 112.5 kB / 0.5234 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.002764, allocations: 9.672 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.002773, allocations: 4.375 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.003042, allocations: 374.7 kB / 0.5238 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.003052, allocations: 8.125 kB / 0.5238 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.003065, allocations: 14.78 kB / 0.5238 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.003107, allocations: 19.98 kB / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.003137, allocations: 27.91 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.003961, allocations: 1.196 MB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.547e-05/0.004046, allocations: 261.4 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.00408, allocations: 126.9 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.004108, allocations: 119.2 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.004156, allocations: 165 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.004157, allocations: 0.5 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.535e-05/0.004223, allocations: 42.56 kB / 0.5257 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.004347, allocations: 427.6 kB / 0.5261 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.004463, allocations: 235.1 kB / 0.5264 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.004475, allocations: 27.33 kB / 0.5264 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.004548, allocations: 202.2 kB / 0.5266 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.004552, allocations: 4 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.004606, allocations: 63.3 kB / 0.5266 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002711/0.004877, allocations: 0.4932 MB / 0.5271 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.004892, allocations: 15.88 kB / 0.5271 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.005094, allocations: 0.5433 MB / 0.5277 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.005241, allocations: 242.1 kB / 0.5279 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.005244, allocations: 4 kB / 0.5279 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001787/0.005423, allocations: 160 kB / 0.5281 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.005438, allocations: 9.438 kB / 0.5281 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.005444, allocations: 7.938 kB / 0.5281 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.005456, allocations: 8 kB / 0.5281 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.005546, allocations: 39.92 kB / 0.5281 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.005553, allocations: 8.5 kB / 0.5281 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.00561, allocations: 28.34 kB / 0.5282 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.005619, allocations: 10.12 kB / 0.5282 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 9.995e-05/0.005718, allocations: 307.6 kB / 0.5285 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.005777, allocations: 164.8 kB / 0.5286 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.005827, allocations: 156.7 kB / 0.5288 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.248e-05/0.00588, allocations: 264.1 kB / 0.529 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-05/0.005935, allocations: 274.5 kB / 0.5293 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.035e-05/0.005996, allocations: 272.1 kB / 0.5295 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.006181, allocations: 492.4 kB / 0.53 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003192/0.0065, allocations: 148.9 kB / 0.5302 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.00654, allocations: 152.9 kB / 0.5303 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.223e-05/0.006602, allocations: 268 kB / 0.5306 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.006663, allocations: 266.2 kB / 0.5308 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.805e-05/0.006721, allocations: 272 kB / 0.5311 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.035e-05/0.006781, allocations: 268.1 kB / 0.5313 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.006919, allocations: 447.9 kB / 0.5318 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.006969, allocations: 156.8 kB / 0.5319 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.007039, allocations: 276 kB / 0.5322 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.007102, allocations: 149.9 kB / 0.5323 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.007169, allocations: 268 kB / 0.5326 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.007205, allocations: 148.9 kB / 0.5327 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.00726, allocations: 154.9 kB / 0.5329 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00726, allocations: 0 / 0.5329 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000229/0.007489, allocations: 29.56 kB / 0.5329 GB, free: 5.477 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.0001682/0.007658, allocations: 230.4 kB / 0.5331 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.007776, allocations: 78.11 kB / 0.5332 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.007779, allocations: 1.312 kB / 0.5332 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.007781, allocations: 7.938 kB / 0.5332 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.008095, allocations: 0.7179 MB / 0.5339 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.008333, allocations: 266.9 kB / 0.5341 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.008369, allocations: 67.98 kB / 0.5342 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.008441, allocations: 24.09 kB / 0.5342 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.00857, allocations: 135.7 kB / 0.5344 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.008571, allocations: 2.156 kB / 0.5344 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of Templates: time 0.003508/0.01208, allocations: 1.848 MB / 0.5362 GB, free: 2.203 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.947665410116315]