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.001779/0.001779, allocations: 85.48 kB / 19.44 MB, free: 340 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.001977/0.001977, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.344/1.344, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 178] 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.483e-06/1.483e-06, allocations: 0.875 kB / 0.5197 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.319e-05, allocations: 4.422 kB / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001924/0.001958, allocations: 0.6082 MB / 0.5203 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.002323, allocations: 72.44 kB / 0.5203 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.002345, allocations: 0 / 0.5203 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/0.002391, allocations: 0 / 0.5203 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.002435, allocations: 10.33 kB / 0.5204 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.002766, allocations: 53.16 kB / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.00284, allocations: 27.91 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.002877, allocations: 0.5625 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.002933, allocations: 25.41 kB / 0.5205 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.003177, allocations: 63.92 kB / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003196, allocations: 0 / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.003324, allocations: 51.86 kB / 0.5206 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.003368, allocations: 16.77 kB / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.003402, allocations: 15.92 kB / 0.5206 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.003574, allocations: 76.66 kB / 0.5207 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003576, allocations: 0 / 0.5207 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.003578, allocations: 0 / 0.5207 GB, free: 1.504 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.003583, allocations: 3.031 kB / 0.5207 GB, free: 1.504 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.0004786/0.004062, allocations: 396.1 kB / 0.5211 GB, free: 1.078 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.004096, allocations: 8.031 kB / 0.5211 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.004151, allocations: 8.891 kB / 0.5211 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.004255, allocations: 112.6 kB / 0.5212 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.004268, allocations: 384 / 0.5212 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.004287, allocations: 8.375 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.004671, allocations: 387.4 kB / 0.5216 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.004681, allocations: 0.6875 kB / 0.5216 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.004699, allocations: 9.281 kB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/0.004757, allocations: 31.91 kB / 0.5216 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.004812, allocations: 19.92 kB / 0.5216 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.005876, allocations: 1.212 MB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.006056, allocations: 269.4 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.006132, allocations: 126.9 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/0.006198, allocations: 120.1 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.006303, allocations: 164.5 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.006303, allocations: 0.7188 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 9.877e-05/0.006402, allocations: 45.58 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002737/0.006676, allocations: 432.6 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.006901, allocations: 226.9 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.006924, allocations: 26.92 kB / 0.5241 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.007197, allocations: 202.2 kB / 0.5243 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.007204, allocations: 4 kB / 0.5243 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.007292, allocations: 67.3 kB / 0.5244 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002592/0.007551, allocations: 0.489 MB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.007585, allocations: 17.7 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.008055, allocations: 0.5411 MB / 0.5254 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.008322, allocations: 249.3 kB / 0.5257 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.008327, allocations: 4 kB / 0.5257 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003281/0.008656, allocations: 172.7 kB / 0.5258 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.008674, allocations: 8 kB / 0.5258 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.008683, allocations: 4 kB / 0.5258 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.008707, allocations: 8 kB / 0.5259 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.008849, allocations: 42.67 kB / 0.5259 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.008864, allocations: 11.94 kB / 0.5259 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.008957, allocations: 23.84 kB / 0.5259 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.008975, allocations: 15.94 kB / 0.5259 GB, free: 11.47 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.0002022/0.009177, allocations: 295.6 kB / 0.5262 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.009292, allocations: 160.9 kB / 0.5264 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.009393, allocations: 164.7 kB / 0.5265 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001343/0.009527, allocations: 266 kB / 0.5268 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001359/0.009663, allocations: 268.1 kB / 0.527 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000154/0.009817, allocations: 272 kB / 0.5273 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.01018, allocations: 0.5076 MB / 0.5278 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.737e-05/0.01026, allocations: 148.8 kB / 0.5279 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.01034, allocations: 151.3 kB / 0.5281 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.01049, allocations: 264.1 kB / 0.5283 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.01064, allocations: 272 kB / 0.5286 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001517/0.01079, allocations: 272.1 kB / 0.5289 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001358/0.01092, allocations: 268 kB / 0.5291 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.01122, allocations: 451.9 kB / 0.5295 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.01132, allocations: 157.7 kB / 0.5297 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.01149, allocations: 272.1 kB / 0.53 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.01162, allocations: 152.8 kB / 0.5301 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.01177, allocations: 264.7 kB / 0.5304 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.01185, allocations: 150.3 kB / 0.5305 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001195/0.01197, allocations: 155.1 kB / 0.5306 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01197, allocations: 0 / 0.5306 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003413/0.01231, allocations: 28 kB / 0.5307 GB, free: 6.438 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.0002711/0.01258, allocations: 227.6 kB / 0.5309 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.01278, allocations: 77.56 kB / 0.531 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01278, allocations: 0 / 0.531 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.01278, allocations: 4.969 kB / 0.531 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.01347, allocations: 0.718 MB / 0.5317 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.01387, allocations: 273.7 kB / 0.5319 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.01397, allocations: 90.69 kB / 0.532 GB, free: 5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.01413, allocations: 51.03 kB / 0.5321 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.01416, allocations: 12.5 kB / 0.5321 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01416, allocations: 0 / 0.5321 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of Templates: time 0.005464/0.01962, allocations: 1.827 MB / 0.5339 GB, free: 3.27 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: 6.111410083947703]