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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001762/0.001762, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001585/0.001586, allocations: 196.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.75 kB / 0.5011 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4023, allocations: 80.2 MB / 0.5794 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001816/0.4041, allocations: 0.6673 MB / 0.5801 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.4045, allocations: 78 kB / 0.5802 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.4045, allocations: 0 / 0.5802 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.4046, allocations: 3.438 kB / 0.5802 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.4046, allocations: 8.625 kB / 0.5802 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.4049, allocations: 31.98 kB / 0.5802 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.405, allocations: 25.73 kB / 0.5802 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.405, allocations: 1.375 kB / 0.5802 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.405, allocations: 17.7 kB / 0.5802 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.4053, allocations: 72.8 kB / 0.5803 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.4053, allocations: 9.594 kB / 0.5803 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.4054, allocations: 34.56 kB / 0.5804 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.4055, allocations: 23.59 kB / 0.5804 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.4055, allocations: 15.45 kB / 0.5804 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.4056, allocations: 68.38 kB / 0.5805 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4057, allocations: 0 / 0.5805 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4057, allocations: 0 / 0.5805 GB, free: 3.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.4057, allocations: 0.9688 kB / 0.5805 GB, free: 3.992 MB / 430.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.0003074/0.406, allocations: 363.5 kB / 0.5808 GB, free: 3.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.406, allocations: 13.34 kB / 0.5808 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.4061, allocations: 11.12 kB / 0.5808 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.926e-05/0.4062, allocations: 169.5 kB / 0.581 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4062, allocations: 2.281 kB / 0.581 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.4062, allocations: 2.344 kB / 0.581 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4065, allocations: 184.9 kB / 0.5812 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4065, allocations: 0.8125 kB / 0.5812 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.4065, allocations: 2.344 kB / 0.5812 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.4065, allocations: 19.45 kB / 0.5812 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.4066, allocations: 37.09 kB / 0.5812 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.4072, allocations: 0.9129 MB / 0.5821 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.4072, allocations: 167.1 kB / 0.5823 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.4073, allocations: 84.08 kB / 0.5824 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4073, allocations: 83.78 kB / 0.5824 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4073, allocations: 112.8 kB / 0.5825 GB, free: 1.941 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4073, allocations: 0 / 0.5825 GB, free: 1.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.923e-05/0.4074, allocations: 36.19 kB / 0.5826 GB, free: 1.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.4075, allocations: 387.6 kB / 0.5829 GB, free: 1.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4076, allocations: 166.7 kB / 0.5831 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.4076, allocations: 26.77 kB / 0.5831 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.4077, allocations: 151.5 kB / 0.5833 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-06/0.4077, allocations: 2.391 kB / 0.5833 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.4078, allocations: 60.25 kB / 0.5833 GB, free: 1.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.4079, allocations: 323.8 kB / 0.5836 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.4079, allocations: 26.42 kB / 0.5837 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.408, allocations: 217.2 kB / 0.5839 GB, free: 0.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4082, allocations: 201.6 kB / 0.5841 GB, free: 340 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4082, allocations: 5.656 kB / 0.5841 GB, free: 336 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003142/0.4085, allocations: 188.2 kB / 0.5843 GB, free: 248 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4086, allocations: 11.44 kB / 0.5843 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4086, allocations: 5.125 kB / 0.5843 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.4086, allocations: 9.594 kB / 0.5843 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4087, allocations: 46.67 kB / 0.5843 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4088, allocations: 11.77 kB / 0.5843 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.4088, allocations: 22.94 kB / 0.5844 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.4089, allocations: 13.75 kB / 0.5844 GB, free: 208 kB / 430.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 9.336e-05/0.409, allocations: 211 kB / 0.5846 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4091, allocations: 112.4 kB / 0.5847 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.4091, allocations: 122.9 kB / 0.5848 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.427e-05/0.4092, allocations: 184.6 kB / 0.585 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.131e-05/0.4093, allocations: 178.3 kB / 0.5851 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.837e-05/0.4094, allocations: 181 kB / 0.5853 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.4097, allocations: 421.7 kB / 0.5857 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/0.4097, allocations: 106.4 kB / 0.5858 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.4098, allocations: 103.3 kB / 0.5859 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.789e-05/0.4098, allocations: 181.8 kB / 0.5861 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/0.4099, allocations: 182 kB / 0.5863 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.579e-05/0.41, allocations: 186 kB / 0.5864 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-05/0.41, allocations: 185.9 kB / 0.5866 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.4102, allocations: 317.6 kB / 0.5869 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.4103, allocations: 186 kB / 0.5871 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.4104, allocations: 180.3 kB / 0.5873 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.4105, allocations: 111.9 kB / 0.5874 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.4106, allocations: 186.1 kB / 0.5876 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.4106, allocations: 106.8 kB / 0.5877 GB, free: 12.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.013e-05/0.4107, allocations: 116 kB / 0.5878 GB, free: 12.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4107, allocations: 0 / 0.5878 GB, free: 12.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00035/0.4111, allocations: 26.53 kB / 0.5878 GB, free: 12.61 MB / 446.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.0002192/0.4113, allocations: 180.2 kB / 0.588 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.4115, allocations: 76.03 kB / 0.588 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4115, allocations: 1.188 kB / 0.588 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.4115, allocations: 1.156 kB / 0.588 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.4119, allocations: 0.5357 MB / 0.5886 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.4122, allocations: 243.7 kB / 0.5888 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4125, allocations: 0.693 MB / 0.5895 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.4127, allocations: 55.11 kB / 0.5895 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.4127, allocations: 14.09 kB / 0.5895 GB, free: 10.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4127, allocations: 0 / 0.5895 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Templates: time 0.004544/0.4173, allocations: 1.757 MB / 0.5913 GB, free: 10.79 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)