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.001252/0.001252, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3976/0.3976, allocations: 54.95 MB / 324.7 MB, free: 16 MB / 270.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.001494/0.001495, allocations: 71.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1348, allocations: 59.58 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.2234/0.3582, allocations: 0.5534 MB / 455.5 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003253/0.3586, allocations: 69.16 kB / 455.5 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.3587, allocations: 0 / 455.5 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.3587, allocations: 4.391 kB / 455.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.3588, allocations: 8.312 kB / 455.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.3591, allocations: 43.8 kB / 455.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.957e-05/0.3591, allocations: 24.55 kB / 455.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.3592, allocations: 3.281 kB / 455.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.709e-05/0.3592, allocations: 16.23 kB / 455.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3594, allocations: 65.62 kB / 455.7 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3594, allocations: 0 / 455.7 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.3595, allocations: 36.47 kB / 455.7 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.3596, allocations: 23.61 kB / 455.8 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.3596, allocations: 19.58 kB / 455.8 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.3598, allocations: 65.81 kB / 455.9 MB, free: 39.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3598, allocations: 0 / 455.9 MB, free: 39.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3598, allocations: 0.5 kB / 455.9 MB, free: 39.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3598, allocations: 1.75 kB / 455.9 MB, free: 39.26 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.0004306/0.3602, allocations: 359.9 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3603, allocations: 8.844 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.3603, allocations: 16.39 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.975e-05/0.3604, allocations: 172 kB / 456.4 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3604, allocations: 384 / 456.4 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3605, allocations: 3.547 kB / 456.4 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3607, allocations: 183.2 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3607, allocations: 0.6562 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3607, allocations: 5.812 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.3608, allocations: 23.55 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.3608, allocations: 40.22 kB / 456.6 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3613, allocations: 0.9035 MB / 457.6 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.3613, allocations: 166.5 kB / 457.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.3614, allocations: 85.39 kB / 457.8 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3614, allocations: 81.16 kB / 457.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3614, allocations: 114.7 kB / 458 MB, free: 37.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3614, allocations: 0 / 458 MB, free: 37.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.672e-05/0.3615, allocations: 34.11 kB / 458 MB, free: 37.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.3616, allocations: 386.5 kB / 458.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3617, allocations: 167.8 kB / 458.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3617, allocations: 28.58 kB / 458.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.3618, allocations: 153 kB / 458.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.3618, allocations: 3.141 kB / 458.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.3619, allocations: 59.27 kB / 458.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.3619, allocations: 318.9 kB / 459.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.3619, allocations: 31.47 kB / 459.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3621, allocations: 221.4 kB / 459.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.3622, allocations: 207.8 kB / 459.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3622, allocations: 0 / 459.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002569/0.3625, allocations: 193.9 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3625, allocations: 13.97 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3625, allocations: 2.781 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3625, allocations: 7.875 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3627, allocations: 41.09 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3627, allocations: 6.781 kB / 459.8 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/0.3628, allocations: 27.94 kB / 459.9 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3628, allocations: 9.688 kB / 459.9 MB, free: 35.81 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.441e-05/0.3629, allocations: 221 kB / 460.1 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.3629, allocations: 114.2 kB / 460.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.363, allocations: 120.5 kB / 460.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.363, allocations: 176.3 kB / 460.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.363, allocations: 183.4 kB / 460.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.3631, allocations: 182.6 kB / 460.8 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.3632, allocations: 420 kB / 461.2 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.3632, allocations: 108.8 kB / 461.4 MB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.3632, allocations: 102.5 kB / 461.5 MB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/0.3633, allocations: 183.2 kB / 461.6 MB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3633, allocations: 183.2 kB / 461.8 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/0.3633, allocations: 184.4 kB / 462 MB, free: 33.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.307e-05/0.3634, allocations: 183.7 kB / 462.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.131e-05/0.3634, allocations: 312.7 kB / 462.5 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.3635, allocations: 184.3 kB / 462.7 MB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.3635, allocations: 187.3 kB / 462.8 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.3636, allocations: 106.7 kB / 462.9 MB, free: 32.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3636, allocations: 186.5 kB / 463.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3636, allocations: 101 kB / 463.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.3637, allocations: 122 kB / 463.3 MB, free: 32.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3637, allocations: 0 / 463.3 MB, free: 32.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.364, allocations: 28.97 kB / 463.4 MB, free: 32.3 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 (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.000142/0.3642, allocations: 182.2 kB / 463.5 MB, free: 32.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.3643, allocations: 81.2 kB / 463.6 MB, free: 32.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3643, allocations: 0 / 463.6 MB, free: 32.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3643, allocations: 0 / 463.6 MB, free: 32.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3646, allocations: 478.3 kB / 464.1 MB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.3649, allocations: 227.2 kB / 464.3 MB, free: 31.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.365, allocations: 0.6924 MB / 465 MB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.3652, allocations: 55.92 kB / 465.1 MB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.3652, allocations: 16.22 kB / 465.1 MB, free: 30.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3652, allocations: 0 / 465.1 MB, free: 30.79 MB / 382.1 MB Notification: Performance of Templates: time 0.003709/0.369, allocations: 1.661 MB / 466.7 MB, free: 30.68 MB / 382.1 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)