Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001225/0.001224, allocations: 111.4 kB / 16.37 MB, free: 6 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.001234/0.001234, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7853/0.7853, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4031, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001765/0.4049, allocations: 0.5876 MB / 0.5864 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003192/0.4052, allocations: 69.5 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.4053, allocations: 1.219 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.4053, allocations: 1.375 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.4054, allocations: 11.67 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.4057, allocations: 46.97 kB / 0.5865 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.4057, allocations: 29.77 kB / 0.5865 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.4058, allocations: 2.438 kB / 0.5865 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.4058, allocations: 18.5 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.406, allocations: 62.77 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.406, allocations: 2 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-05/0.4061, allocations: 36.86 kB / 0.5866 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.4062, allocations: 22.48 kB / 0.5866 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.4062, allocations: 26.08 kB / 0.5867 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.4063, allocations: 67 kB / 0.5867 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4063, allocations: 0.9688 kB / 0.5867 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4063, allocations: 0 / 0.5867 GB, free: 24.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.4063, allocations: 0 / 0.5867 GB, free: 24.91 MB / 446.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.0002713/0.4066, allocations: 368.2 kB / 0.5871 GB, free: 24.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4067, allocations: 10.33 kB / 0.5871 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.4067, allocations: 9.969 kB / 0.5871 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.651e-05/0.4068, allocations: 169.4 kB / 0.5873 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4068, allocations: 1.438 kB / 0.5873 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.4068, allocations: 4.344 kB / 0.5873 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.407, allocations: 188.6 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4071, allocations: 2.344 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4071, allocations: 2.625 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.4071, allocations: 23.48 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.4072, allocations: 41.66 kB / 0.5875 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.4077, allocations: 0.9019 MB / 0.5884 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.4078, allocations: 171.2 kB / 0.5886 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.4078, allocations: 81.23 kB / 0.5886 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.4078, allocations: 76.47 kB / 0.5887 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4079, allocations: 113.8 kB / 0.5888 GB, free: 22.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4079, allocations: 0 / 0.5888 GB, free: 22.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.885e-05/0.408, allocations: 36.36 kB / 0.5889 GB, free: 22.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.4081, allocations: 394.6 kB / 0.5892 GB, free: 22.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4082, allocations: 165.1 kB / 0.5894 GB, free: 22.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.4082, allocations: 31.27 kB / 0.5894 GB, free: 22.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.4083, allocations: 145.9 kB / 0.5896 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-06/0.4083, allocations: 5.281 kB / 0.5896 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.4083, allocations: 52.95 kB / 0.5896 GB, free: 21.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.4084, allocations: 325.8 kB / 0.5899 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.4084, allocations: 24.3 kB / 0.5899 GB, free: 21.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4086, allocations: 223.5 kB / 0.5902 GB, free: 21.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4088, allocations: 199.7 kB / 0.5904 GB, free: 21.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4088, allocations: 2.75 kB / 0.5904 GB, free: 21.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003125/0.4091, allocations: 192 kB / 0.5905 GB, free: 21.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4091, allocations: 6.719 kB / 0.5905 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4091, allocations: 5.844 kB / 0.5906 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.4091, allocations: 11.19 kB / 0.5906 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.4093, allocations: 42.19 kB / 0.5906 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.4093, allocations: 10.06 kB / 0.5906 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.4094, allocations: 31.75 kB / 0.5906 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.4094, allocations: 15.66 kB / 0.5907 GB, free: 21.02 MB / 446.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 0.0001058/0.4095, allocations: 215 kB / 0.5909 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.4096, allocations: 110.3 kB / 0.591 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.4096, allocations: 113.2 kB / 0.5911 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/0.4097, allocations: 186.3 kB / 0.5913 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.131e-05/0.4097, allocations: 186.5 kB / 0.5914 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/0.4098, allocations: 177.6 kB / 0.5916 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.4099, allocations: 424.5 kB / 0.592 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.41, allocations: 101.7 kB / 0.5921 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.41, allocations: 103.8 kB / 0.5922 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.73e-05/0.41, allocations: 181.4 kB / 0.5924 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.4101, allocations: 186.7 kB / 0.5926 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.613e-05/0.4101, allocations: 188.3 kB / 0.5927 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.385e-05/0.4101, allocations: 180.2 kB / 0.5929 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.4102, allocations: 311.7 kB / 0.5932 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.4103, allocations: 188.1 kB / 0.5934 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.4104, allocations: 190.6 kB / 0.5936 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.4104, allocations: 108.6 kB / 0.5937 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4105, allocations: 181.4 kB / 0.5938 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.4105, allocations: 101.5 kB / 0.5939 GB, free: 17.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.4106, allocations: 117.5 kB / 0.594 GB, free: 17.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4106, allocations: 0 / 0.594 GB, free: 17.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.4109, allocations: 27.56 kB / 0.5941 GB, free: 17.4 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.0001984/0.4111, allocations: 189.1 kB / 0.5943 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.4113, allocations: 76.06 kB / 0.5943 GB, free: 17.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4113, allocations: 4 kB / 0.5943 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.4113, allocations: 0 / 0.5943 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.4116, allocations: 469.9 kB / 0.5948 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.4118, allocations: 228.9 kB / 0.595 GB, free: 16.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.412, allocations: 0.6909 MB / 0.5957 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.4122, allocations: 59.3 kB / 0.5957 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.4122, allocations: 11.44 kB / 0.5957 GB, free: 15.64 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4122, allocations: 0.625 kB / 0.5957 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Templates: time 0.003767/0.416, allocations: 1.666 MB / 0.5974 GB, free: 14.04 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)