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.0008939/0.0008942, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006054/0.006054, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7628/0.7628, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 15.94 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4354, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007945/0.4362, allocations: 334.2 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.4366, allocations: 74.38 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.4366, allocations: 0 / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.4367, allocations: 1.672 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.4367, allocations: 11.22 kB / 0.5841 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.437, allocations: 33.33 kB / 0.5841 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.4371, allocations: 28.86 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.4371, allocations: 1.125 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.4371, allocations: 25.45 kB / 0.5842 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.4374, allocations: 65 kB / 0.5842 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4374, allocations: 1.219 kB / 0.5842 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.4375, allocations: 39.92 kB / 0.5843 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.4376, allocations: 19.55 kB / 0.5843 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.4376, allocations: 49.36 kB / 0.5843 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.4378, allocations: 67.23 kB / 0.5844 GB, free: 3.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4378, allocations: 0.75 kB / 0.5844 GB, free: 3.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4378, allocations: 0 / 0.5844 GB, free: 3.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.4378, allocations: 1.531 kB / 0.5844 GB, free: 3.648 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.0002946/0.4381, allocations: 344.3 kB / 0.5847 GB, free: 3.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4381, allocations: 9.312 kB / 0.5847 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.4382, allocations: 8.625 kB / 0.5848 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.693e-05/0.4383, allocations: 172.3 kB / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4383, allocations: 384 / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4383, allocations: 6.484 kB / 0.5849 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.4386, allocations: 177.5 kB / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4386, allocations: 5.094 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4386, allocations: 2 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.4387, allocations: 24.03 kB / 0.5851 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.4387, allocations: 37.12 kB / 0.5852 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.4393, allocations: 0.9086 MB / 0.586 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.4393, allocations: 166.1 kB / 0.5862 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.4394, allocations: 85.95 kB / 0.5863 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.4394, allocations: 83.22 kB / 0.5864 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4394, allocations: 112.2 kB / 0.5865 GB, free: 1.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.4394, allocations: 0 / 0.5865 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.291e-05/0.4395, allocations: 36.06 kB / 0.5865 GB, free: 1.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.4396, allocations: 391.5 kB / 0.5869 GB, free: 1.121 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4397, allocations: 166.7 kB / 0.587 GB, free: 1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.4397, allocations: 31.61 kB / 0.5871 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.4398, allocations: 146.5 kB / 0.5872 GB, free: 0.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.4398, allocations: 2.781 kB / 0.5872 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.4399, allocations: 20.89 kB / 0.5872 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.4399, allocations: 323.2 kB / 0.5875 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.818e-05/0.44, allocations: 26.56 kB / 0.5876 GB, free: 500 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.4401, allocations: 222.2 kB / 0.5878 GB, free: 228 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.4403, allocations: 205.6 kB / 0.588 GB, free: 8 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4403, allocations: 5.125 kB / 0.588 GB, free: 4 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003769/0.4407, allocations: 192.3 kB / 0.5882 GB, free: 15.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4407, allocations: 11.75 kB / 0.5882 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4408, allocations: 5.062 kB / 0.5882 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4408, allocations: 6.734 kB / 0.5882 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4409, allocations: 41.78 kB / 0.5882 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.4409, allocations: 7.188 kB / 0.5882 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.4411, allocations: 30.53 kB / 0.5883 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.4411, allocations: 10.34 kB / 0.5883 GB, free: 15.88 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.0001401/0.4412, allocations: 215 kB / 0.5885 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.4413, allocations: 115.8 kB / 0.5886 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.4414, allocations: 111.2 kB / 0.5887 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.093e-05/0.4415, allocations: 188.6 kB / 0.5889 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.35e-05/0.4415, allocations: 177.5 kB / 0.589 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.083e-05/0.4416, allocations: 190.1 kB / 0.5892 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.4419, allocations: 418.2 kB / 0.5896 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-05/0.4419, allocations: 106.2 kB / 0.5897 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.442, allocations: 106.2 kB / 0.5898 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.428e-05/0.442, allocations: 178.1 kB / 0.59 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/0.4421, allocations: 182 kB / 0.5902 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.139e-05/0.4422, allocations: 182.1 kB / 0.5903 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.606e-05/0.4423, allocations: 185.9 kB / 0.5905 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.4424, allocations: 314.3 kB / 0.5908 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.4425, allocations: 189.9 kB / 0.591 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.4426, allocations: 179 kB / 0.5912 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.4427, allocations: 117.2 kB / 0.5913 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.4428, allocations: 181.6 kB / 0.5915 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.4428, allocations: 102.4 kB / 0.5915 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.4429, allocations: 116.5 kB / 0.5917 GB, free: 12.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4429, allocations: 0 / 0.5917 GB, free: 12.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.4433, allocations: 27.47 kB / 0.5917 GB, free: 12.3 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.0002218/0.4435, allocations: 192.4 kB / 0.5919 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.4437, allocations: 74.44 kB / 0.5919 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4437, allocations: 1.219 kB / 0.5919 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.4437, allocations: 1.812 kB / 0.5919 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.4442, allocations: 0.5316 MB / 0.5925 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.4445, allocations: 243.9 kB / 0.5927 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4448, allocations: 0.6927 MB / 0.5934 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.445, allocations: 54.73 kB / 0.5934 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.4451, allocations: 14.41 kB / 0.5934 GB, free: 10.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4451, allocations: 0 / 0.5934 GB, free: 10.64 MB / 446.1 MB Notification: Performance of Templates: time 0.005103/0.4502, allocations: 1.748 MB / 0.5951 GB, free: 10.47 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)