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.001286/0.001286, 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.001574/0.001574, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7768/0.7768, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 63.41 kB / 0.5018 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4111, allocations: 80.22 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001836/0.413, allocations: 0.594 MB / 0.5807 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.4133, allocations: 65.67 kB / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.4133, allocations: 0 / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.4134, allocations: 5.734 kB / 0.5808 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.4134, allocations: 9.547 kB / 0.5808 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.4138, allocations: 43.25 kB / 0.5808 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.4138, allocations: 30.53 kB / 0.5808 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.4139, allocations: 2.297 kB / 0.5808 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.4139, allocations: 13.5 kB / 0.5808 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.4142, allocations: 64.81 kB / 0.5809 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.4142, allocations: 1.469 kB / 0.5809 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.4143, allocations: 39.11 kB / 0.581 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.4144, allocations: 15.31 kB / 0.581 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.4144, allocations: 20.19 kB / 0.581 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.4145, allocations: 73.69 kB / 0.5811 GB, free: 4.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4146, allocations: 0.75 kB / 0.5811 GB, free: 4.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4146, allocations: 1.094 kB / 0.5811 GB, free: 4.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.4146, allocations: 0 / 0.5811 GB, free: 4.008 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.0002974/0.4149, allocations: 364.4 kB / 0.5814 GB, free: 3.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4149, allocations: 9.188 kB / 0.5814 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.415, allocations: 12.62 kB / 0.5814 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.552e-05/0.415, allocations: 171.5 kB / 0.5816 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4151, allocations: 1.031 kB / 0.5816 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.4151, allocations: 2.781 kB / 0.5816 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.4153, allocations: 185.6 kB / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4154, allocations: 3.984 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.4154, allocations: 2.594 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/0.4154, allocations: 20.45 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.748e-05/0.4155, allocations: 44.3 kB / 0.5818 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.4161, allocations: 0.898 MB / 0.5827 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.4161, allocations: 178.2 kB / 0.5829 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.4161, allocations: 84.83 kB / 0.583 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.4162, allocations: 75.28 kB / 0.583 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4162, allocations: 108.1 kB / 0.5831 GB, free: 1.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4162, allocations: 0.875 kB / 0.5831 GB, free: 1.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.925e-05/0.4163, allocations: 43.59 kB / 0.5832 GB, free: 1.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.4164, allocations: 391 kB / 0.5836 GB, free: 1.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4165, allocations: 166.4 kB / 0.5837 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.4165, allocations: 27.58 kB / 0.5837 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.4166, allocations: 145.8 kB / 0.5839 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-06/0.4166, allocations: 3.359 kB / 0.5839 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.4167, allocations: 56.83 kB / 0.5839 GB, free: 1.145 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.4167, allocations: 327.5 kB / 0.5842 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.4168, allocations: 26.38 kB / 0.5843 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4169, allocations: 222.2 kB / 0.5845 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.4171, allocations: 198 kB / 0.5847 GB, free: 352 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4171, allocations: 0.5938 kB / 0.5847 GB, free: 352 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000304/0.4174, allocations: 192.9 kB / 0.5849 GB, free: 260 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4174, allocations: 6.469 kB / 0.5849 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4175, allocations: 4.781 kB / 0.5849 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4175, allocations: 10.75 kB / 0.5849 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4176, allocations: 37.89 kB / 0.5849 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.4176, allocations: 12.22 kB / 0.5849 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.95e-05/0.4177, allocations: 30.81 kB / 0.585 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4178, allocations: 14.44 kB / 0.585 GB, free: 224 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.508e-05/0.4179, allocations: 215.5 kB / 0.5852 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.418, allocations: 107.8 kB / 0.5853 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.418, allocations: 118.2 kB / 0.5854 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/0.4181, allocations: 182.1 kB / 0.5856 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-05/0.4182, allocations: 188.2 kB / 0.5857 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-05/0.4182, allocations: 178.1 kB / 0.5859 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.4185, allocations: 418.4 kB / 0.5863 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/0.4186, allocations: 106.4 kB / 0.5864 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.4186, allocations: 102.7 kB / 0.5865 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.4187, allocations: 185.8 kB / 0.5867 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/0.4188, allocations: 186 kB / 0.5869 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.428e-05/0.4188, allocations: 185.7 kB / 0.587 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.854e-05/0.4189, allocations: 185.7 kB / 0.5872 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.4191, allocations: 313.8 kB / 0.5875 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4192, allocations: 190.5 kB / 0.5877 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.4193, allocations: 184 kB / 0.5879 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4194, allocations: 107.3 kB / 0.588 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.4195, allocations: 183.6 kB / 0.5882 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.4195, allocations: 105.5 kB / 0.5883 GB, free: 12.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.549e-05/0.4196, allocations: 115.4 kB / 0.5884 GB, free: 12.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4197, allocations: 4.75 kB / 0.5884 GB, free: 12.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.42, allocations: 25.97 kB / 0.5884 GB, free: 12.62 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.0002479/0.4203, allocations: 185.8 kB / 0.5886 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4205, allocations: 72.36 kB / 0.5886 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4205, allocations: 4.844 kB / 0.5886 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.4205, allocations: 1.219 kB / 0.5886 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.0003987/0.4209, allocations: 472.4 kB / 0.5891 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.4213, allocations: 226.2 kB / 0.5893 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4217, allocations: 0.6965 MB / 0.59 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.422, allocations: 54.55 kB / 0.59 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.4221, allocations: 14.72 kB / 0.5901 GB, free: 11.06 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4221, allocations: 0 / 0.5901 GB, free: 11.06 MB / 446.1 MB Notification: Performance of Templates: time 0.005468/0.4275, allocations: 1.657 MB / 0.5917 GB, free: 10.9 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)