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.001349/0.001349, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001144/0.001144, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8179/0.8179, allocations: 135.1 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.89 kB / 0.5055 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3628, allocations: 80.92 MB / 0.5845 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001723/0.3645, allocations: 0.6501 MB / 0.5852 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000271/0.3648, allocations: 78.75 kB / 0.5852 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.832e-05/0.3649, allocations: 0 / 0.5852 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.3649, allocations: 0 / 0.5852 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.3649, allocations: 10.2 kB / 0.5852 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.3652, allocations: 42.02 kB / 0.5853 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.3653, allocations: 28.47 kB / 0.5853 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3653, allocations: 6.234 kB / 0.5853 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.145e-05/0.3654, allocations: 14.91 kB / 0.5853 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3655, allocations: 75.59 kB / 0.5854 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3655, allocations: 0 / 0.5854 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.3656, allocations: 33.5 kB / 0.5854 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.3657, allocations: 23.05 kB / 0.5855 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.3657, allocations: 25.36 kB / 0.5855 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.538e-05/0.3658, allocations: 43.72 kB / 0.5855 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3658, allocations: 0 / 0.5855 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3658, allocations: 2.375 kB / 0.5855 GB, free: 24.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3658, allocations: 0 / 0.5855 GB, free: 24.64 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.0002618/0.3661, allocations: 361.1 kB / 0.5859 GB, free: 24.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3661, allocations: 10.8 kB / 0.5859 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.3662, allocations: 8.844 kB / 0.5859 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.992e-05/0.3662, allocations: 174.8 kB / 0.5861 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3663, allocations: 5.719 kB / 0.5861 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.3663, allocations: 3.656 kB / 0.5861 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3665, allocations: 186.3 kB / 0.5862 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3665, allocations: 0 / 0.5862 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3665, allocations: 2.844 kB / 0.5862 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.3665, allocations: 24.64 kB / 0.5863 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.3666, allocations: 39.84 kB / 0.5863 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3671, allocations: 0.9068 MB / 0.5872 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.3671, allocations: 169 kB / 0.5874 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.3671, allocations: 80.14 kB / 0.5874 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3672, allocations: 76.5 kB / 0.5875 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3672, allocations: 111.9 kB / 0.5876 GB, free: 22.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.3672, allocations: 0.9062 kB / 0.5876 GB, free: 22.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.788e-05/0.3673, allocations: 39.86 kB / 0.5876 GB, free: 22.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.3673, allocations: 391.6 kB / 0.588 GB, free: 22.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3675, allocations: 164.1 kB / 0.5882 GB, free: 21.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3675, allocations: 27.05 kB / 0.5882 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.3675, allocations: 150.8 kB / 0.5883 GB, free: 21.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.3675, allocations: 4.938 kB / 0.5884 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.3676, allocations: 51.92 kB / 0.5884 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.3677, allocations: 327.5 kB / 0.5887 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.582e-05/0.3677, allocations: 24.08 kB / 0.5887 GB, free: 21.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3678, allocations: 218.2 kB / 0.5889 GB, free: 21.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.368, allocations: 204.2 kB / 0.5891 GB, free: 20.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.368, allocations: 2.812 kB / 0.5891 GB, free: 20.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002875/0.3683, allocations: 192.8 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3683, allocations: 7.219 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3683, allocations: 5.25 kB / 0.5893 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3683, allocations: 9.688 kB / 0.5893 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3685, allocations: 42.92 kB / 0.5894 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3685, allocations: 11.08 kB / 0.5894 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.3686, allocations: 27.12 kB / 0.5894 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3686, allocations: 9.188 kB / 0.5894 GB, free: 20.75 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 9.327e-05/0.3687, allocations: 213.5 kB / 0.5896 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.3687, allocations: 119 kB / 0.5898 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.3688, allocations: 110 kB / 0.5899 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.3688, allocations: 192.1 kB / 0.59 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.3688, allocations: 179.5 kB / 0.5902 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/0.3689, allocations: 181.6 kB / 0.5904 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.369, allocations: 416.3 kB / 0.5908 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.369, allocations: 110.1 kB / 0.5909 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.369, allocations: 114.7 kB / 0.591 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/0.3691, allocations: 179.6 kB / 0.5912 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.3691, allocations: 177.8 kB / 0.5913 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-05/0.3691, allocations: 188.1 kB / 0.5915 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-05/0.3691, allocations: 182.6 kB / 0.5917 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.897e-05/0.3692, allocations: 314.6 kB / 0.592 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.3693, allocations: 188.2 kB / 0.5922 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.3693, allocations: 183.8 kB / 0.5923 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.3694, allocations: 112.6 kB / 0.5925 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.3694, allocations: 181.4 kB / 0.5926 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3694, allocations: 104.6 kB / 0.5927 GB, free: 17.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.3695, allocations: 115.2 kB / 0.5928 GB, free: 17.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3695, allocations: 1.25 kB / 0.5928 GB, free: 17.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3698, allocations: 26.12 kB / 0.5929 GB, free: 17.14 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.0001611/0.37, allocations: 184.9 kB / 0.593 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3701, allocations: 82.06 kB / 0.5931 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3701, allocations: 1.375 kB / 0.5931 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3701, allocations: 1.25 kB / 0.5931 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3704, allocations: 467.1 kB / 0.5936 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.3707, allocations: 273.4 kB / 0.5938 GB, free: 16.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.3708, allocations: 0.6956 MB / 0.5945 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.3708, allocations: 18.8 kB / 0.5945 GB, free: 15.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3709, allocations: 1.375 kB / 0.5945 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Templates: time 0.002961/0.3738, allocations: 1.706 MB / 0.5962 GB, free: 14.28 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)