Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.273/0.273, allocations: 54.39 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001436/0.001437, allocations: 185.3 kB / 75.37 MB, free: 1.496 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.264/1.264, allocations: 194.2 MB / 283.2 MB, free: 3.496 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001635/0.001635, allocations: 103.5 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.735e-06, allocations: 4 kB / 405 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.115, allocations: 57.65 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/0.4236, allocations: 84.46 MB / 0.5342 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4238, allocations: 73.33 kB / 0.5343 GB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002927/0.4268, allocations: 0.8549 MB / 0.5351 GB, free: 12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.4268, allocations: 0 / 0.5351 GB, free: 12 MB / 378.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.0002672/0.4271, allocations: 346.7 kB / 0.5355 GB, free: 11.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4271, allocations: 11.97 kB / 0.5355 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4272, allocations: 7.906 kB / 0.5355 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.4273, allocations: 167 kB / 0.5357 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4273, allocations: 0 / 0.5357 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.4273, allocations: 7.906 kB / 0.5357 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.782e-05/0.4274, allocations: 35.8 kB / 0.5357 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4276, allocations: 165.7 kB / 0.5359 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4276, allocations: 0 / 0.5359 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4276, allocations: 0 / 0.5359 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.4277, allocations: 27.91 kB / 0.5359 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.4283, allocations: 0.8676 MB / 0.5367 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/0.4284, allocations: 176.8 kB / 0.5369 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.4284, allocations: 81.02 kB / 0.537 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4285, allocations: 79.28 kB / 0.5371 GB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4285, allocations: 109.8 kB / 0.5372 GB, free: 9.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4285, allocations: 4 kB / 0.5372 GB, free: 9.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.803e-05/0.4286, allocations: 33.61 kB / 0.5372 GB, free: 9.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.4287, allocations: 312.1 kB / 0.5375 GB, free: 9.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4289, allocations: 163.2 kB / 0.5376 GB, free: 9.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4289, allocations: 25.7 kB / 0.5377 GB, free: 9.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.429, allocations: 148.2 kB / 0.5378 GB, free: 9.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.429, allocations: 0 / 0.5378 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.429, allocations: 0 / 0.5378 GB, free: 9.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4291, allocations: 326.4 kB / 0.5381 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.4291, allocations: 23.73 kB / 0.5381 GB, free: 8.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.4293, allocations: 212.1 kB / 0.5383 GB, free: 8.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.175e-05/0.4294, allocations: 58.97 kB / 0.5384 GB, free: 8.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4294, allocations: 4 kB / 0.5384 GB, free: 8.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002506/0.4296, allocations: 159.8 kB / 0.5386 GB, free: 8.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4297, allocations: 15.84 kB / 0.5386 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4297, allocations: 8.062 kB / 0.5386 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4297, allocations: 4 kB / 0.5386 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4298, allocations: 39.92 kB / 0.5386 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.4298, allocations: 8 kB / 0.5386 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.4299, allocations: 19.75 kB / 0.5387 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.43, allocations: 15.56 kB / 0.5387 GB, free: 8.133 MB / 378.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/0.4301, allocations: 192.1 kB / 0.5388 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.4301, allocations: 112.8 kB / 0.539 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.4302, allocations: 120.2 kB / 0.5391 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.738e-05/0.4303, allocations: 180.3 kB / 0.5392 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.835e-05/0.4304, allocations: 184.5 kB / 0.5394 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.794e-05/0.4304, allocations: 178 kB / 0.5396 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.4307, allocations: 400.5 kB / 0.54 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.169e-05/0.4307, allocations: 112.8 kB / 0.5401 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.4307, allocations: 101 kB / 0.5402 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.387e-05/0.4308, allocations: 180.2 kB / 0.5403 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.4309, allocations: 184.2 kB / 0.5405 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.609e-05/0.431, allocations: 176.3 kB / 0.5407 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.739e-05/0.431, allocations: 176.3 kB / 0.5409 GB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001542/0.4312, allocations: 319.2 kB / 0.5412 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.4313, allocations: 186 kB / 0.5413 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.4314, allocations: 180.5 kB / 0.5415 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.4315, allocations: 108.1 kB / 0.5416 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.4315, allocations: 188.3 kB / 0.5418 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.4316, allocations: 105.7 kB / 0.5419 GB, free: 4.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.237e-05/0.4316, allocations: 114.3 kB / 0.542 GB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.432, allocations: 23.94 kB / 0.542 GB, free: 4.504 MB / 378.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.4321, allocations: 185.8 kB / 0.5422 GB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.4323, allocations: 66.55 kB / 0.5423 GB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4323, allocations: 3.938 kB / 0.5423 GB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.4323, allocations: 0 / 0.5423 GB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.4326, allocations: 0.5294 MB / 0.5428 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.4329, allocations: 175.5 kB / 0.543 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.4332, allocations: 0.7198 MB / 0.5437 GB, free: 2.777 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4332, allocations: 0 / 0.5437 GB, free: 2.777 MB / 378.7 MB Notification: Performance of Templates: time 0.00427/0.4375, allocations: 1.753 MB / 0.5454 GB, free: 1.059 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)