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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007639/0.000764, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008454/0.0008455, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4592/0.4592, allocations: 55.01 MB / 325.4 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006312/0.0006313, allocations: 16 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4698, allocations: 60.72 MB / 457.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001272/0.4712, allocations: 295 kB / 457.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000342/0.4716, allocations: 68.12 kB / 457.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.4716, allocations: 0 / 457.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.4717, allocations: 3 kB / 457.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.4717, allocations: 5.219 kB / 457.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.472, allocations: 34.02 kB / 457.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.4721, allocations: 25.98 kB / 457.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.4721, allocations: 4.062 kB / 457.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.4722, allocations: 19.62 kB / 457.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.4724, allocations: 80.31 kB / 457.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.4724, allocations: 0 / 457.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.4725, allocations: 32.02 kB / 457.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.4726, allocations: 22.27 kB / 458 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.4726, allocations: 29.73 kB / 458 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.656e-05/0.4727, allocations: 42.19 kB / 458 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4727, allocations: 0 / 458 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4727, allocations: 0.625 kB / 458 MB, free: 38.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4727, allocations: 0 / 458 MB, free: 38.2 MB / 382.1 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.0003032/0.473, allocations: 346.3 kB / 458.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4731, allocations: 8.969 kB / 458.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.4731, allocations: 10.59 kB / 458.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.012e-05/0.4732, allocations: 169.9 kB / 458.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4733, allocations: 8.984 kB / 458.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.4733, allocations: 0.5156 kB / 458.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.4736, allocations: 177.1 kB / 458.7 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4736, allocations: 2.781 kB / 458.7 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4736, allocations: 4.453 kB / 458.7 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.4737, allocations: 22.84 kB / 458.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.4737, allocations: 42.86 kB / 458.8 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.4744, allocations: 0.9043 MB / 459.7 MB, free: 36.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.4744, allocations: 170.4 kB / 459.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.4745, allocations: 85.33 kB / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.4745, allocations: 75.28 kB / 460 MB, free: 36.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.4746, allocations: 111.6 kB / 460.1 MB, free: 36.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.4746, allocations: 0.6875 kB / 460.1 MB, free: 36.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.651e-05/0.4747, allocations: 33.5 kB / 460.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.4748, allocations: 397.4 kB / 460.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.475, allocations: 169 kB / 460.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.475, allocations: 29.14 kB / 460.8 MB, free: 35.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.4751, allocations: 145.8 kB / 460.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-06/0.4751, allocations: 9.984 kB / 460.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.4751, allocations: 0 / 460.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.4752, allocations: 320.8 kB / 461.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.4752, allocations: 28.06 kB / 461.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.4754, allocations: 223.2 kB / 461.5 MB, free: 34.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.4755, allocations: 63.47 kB / 461.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4755, allocations: 3.062 kB / 461.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000287/0.4758, allocations: 192.8 kB / 461.7 MB, free: 34.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4758, allocations: 9.531 kB / 461.7 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4758, allocations: 2.969 kB / 461.7 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4759, allocations: 10.19 kB / 461.7 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.476, allocations: 37.31 kB / 461.8 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.476, allocations: 17.22 kB / 461.8 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-05/0.4761, allocations: 27.56 kB / 461.8 MB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.4761, allocations: 10.28 kB / 461.8 MB, free: 34.88 MB / 382.1 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.4763, allocations: 214.4 kB / 462 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.4763, allocations: 111.3 kB / 462.2 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.4764, allocations: 123.6 kB / 462.3 MB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/0.4764, allocations: 180.7 kB / 462.4 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-05/0.4765, allocations: 180.2 kB / 462.6 MB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.925e-05/0.4765, allocations: 184.1 kB / 462.8 MB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.4767, allocations: 417.1 kB / 463.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/0.4767, allocations: 109.9 kB / 463.3 MB, free: 33.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.4768, allocations: 105 kB / 463.4 MB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.327e-05/0.4768, allocations: 183.6 kB / 463.6 MB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.4769, allocations: 179.3 kB / 463.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.271e-05/0.4769, allocations: 176.3 kB / 463.9 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-05/0.477, allocations: 185.2 kB / 464.1 MB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.4771, allocations: 319.8 kB / 464.4 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.4771, allocations: 194.1 kB / 464.6 MB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.4772, allocations: 183.1 kB / 464.8 MB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.4773, allocations: 111.3 kB / 464.9 MB, free: 31.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.4773, allocations: 180.3 kB / 465.1 MB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.4774, allocations: 108.5 kB / 465.2 MB, free: 31.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.935e-05/0.4774, allocations: 118.9 kB / 465.3 MB, free: 31.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4775, allocations: 0 / 465.3 MB, free: 31.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.4778, allocations: 25.41 kB / 465.3 MB, free: 31.33 MB / 382.1 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 () * 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 (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.0002191/0.4781, allocations: 181.9 kB / 465.5 MB, free: 31.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.4782, allocations: 82.55 kB / 465.6 MB, free: 31.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4782, allocations: 0 / 465.6 MB, free: 31.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.4782, allocations: 0 / 465.6 MB, free: 31.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.4786, allocations: 0.5395 MB / 466.1 MB, free: 30.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.4789, allocations: 237.8 kB / 466.4 MB, free: 30.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.4791, allocations: 0.6929 MB / 467.1 MB, free: 29.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.4793, allocations: 54.52 kB / 467.1 MB, free: 29.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.4793, allocations: 14.53 kB / 467.1 MB, free: 29.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4793, allocations: 0 / 467.1 MB, free: 29.71 MB / 382.1 MB Notification: Performance of Templates: time 0.003858/0.4832, allocations: 1.69 MB / 468.8 MB, free: 29.59 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: