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.001231/0.001231, allocations: 105.7 kB / 16.37 MB, free: 6.477 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.001107/0.001108, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8207/0.8207, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3713, allocations: 80.18 MB / 0.5815 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001816/0.3731, allocations: 0.6089 MB / 0.5821 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.3735, allocations: 71.28 kB / 0.5822 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.3735, allocations: 0 / 0.5822 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.3736, allocations: 1.5 kB / 0.5822 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.3736, allocations: 8.5 kB / 0.5822 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.3739, allocations: 45.88 kB / 0.5822 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.374, allocations: 32.25 kB / 0.5822 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.3741, allocations: 7.391 kB / 0.5823 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.3741, allocations: 12.44 kB / 0.5823 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3743, allocations: 61.69 kB / 0.5823 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.3743, allocations: 2 kB / 0.5823 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3744, allocations: 37.78 kB / 0.5824 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.3745, allocations: 22.19 kB / 0.5824 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.3745, allocations: 17 kB / 0.5824 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.3747, allocations: 63.05 kB / 0.5825 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3747, allocations: 1.406 kB / 0.5825 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3747, allocations: 0 / 0.5825 GB, free: 27.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3747, allocations: 0.5 kB / 0.5825 GB, free: 27.06 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.0003281/0.375, allocations: 371.9 kB / 0.5828 GB, free: 26.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3751, allocations: 11.88 kB / 0.5828 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.3751, allocations: 8.688 kB / 0.5828 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.778e-05/0.3752, allocations: 169.6 kB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3752, allocations: 1.875 kB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3752, allocations: 3.188 kB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.3755, allocations: 179.8 kB / 0.5832 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3755, allocations: 1.375 kB / 0.5832 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3755, allocations: 3.406 kB / 0.5832 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/0.3756, allocations: 24.66 kB / 0.5832 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.3757, allocations: 44.64 kB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.3762, allocations: 0.9031 MB / 0.5841 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.924e-05/0.3763, allocations: 172.1 kB / 0.5843 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.3763, allocations: 86.11 kB / 0.5844 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3764, allocations: 75.28 kB / 0.5844 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3764, allocations: 116.5 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3764, allocations: 0.5625 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.295e-05/0.3765, allocations: 39.08 kB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.3766, allocations: 389 kB / 0.585 GB, free: 24.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3768, allocations: 167.9 kB / 0.5851 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3768, allocations: 27.83 kB / 0.5852 GB, free: 24.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.3769, allocations: 143.6 kB / 0.5853 GB, free: 24.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.3769, allocations: 5.219 kB / 0.5853 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.377, allocations: 61.03 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.377, allocations: 318.8 kB / 0.5857 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.3771, allocations: 31.09 kB / 0.5857 GB, free: 23.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3772, allocations: 227.8 kB / 0.5859 GB, free: 23.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3774, allocations: 192.6 kB / 0.5861 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3774, allocations: 2.281 kB / 0.5861 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003386/0.3777, allocations: 191.6 kB / 0.5863 GB, free: 23.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3778, allocations: 8.969 kB / 0.5863 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3778, allocations: 4.844 kB / 0.5863 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.3778, allocations: 10.53 kB / 0.5863 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.378, allocations: 41.3 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.378, allocations: 11.41 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.3781, allocations: 26.25 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3781, allocations: 14.06 kB / 0.5864 GB, free: 23.16 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.0001131/0.3782, allocations: 213.9 kB / 0.5866 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.3783, allocations: 114 kB / 0.5867 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3784, allocations: 121.7 kB / 0.5868 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/0.3784, allocations: 183.3 kB / 0.587 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.208e-05/0.3784, allocations: 180.2 kB / 0.5872 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/0.3785, allocations: 178.5 kB / 0.5873 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.3787, allocations: 431.3 kB / 0.5877 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.3787, allocations: 102.3 kB / 0.5878 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.3787, allocations: 102.5 kB / 0.5879 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.951e-05/0.3787, allocations: 184.2 kB / 0.5881 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.3788, allocations: 185.4 kB / 0.5883 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.211e-05/0.3788, allocations: 185.8 kB / 0.5885 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.001e-05/0.3788, allocations: 178.2 kB / 0.5886 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.385e-05/0.3789, allocations: 313.2 kB / 0.5889 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.379, allocations: 185.6 kB / 0.5891 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.379, allocations: 184.2 kB / 0.5893 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.3791, allocations: 111.9 kB / 0.5894 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.3792, allocations: 182.5 kB / 0.5896 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.3792, allocations: 111.2 kB / 0.5897 GB, free: 19.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.96e-05/0.3793, allocations: 113.6 kB / 0.5898 GB, free: 19.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3793, allocations: 0 / 0.5898 GB, free: 19.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3796, allocations: 26.94 kB / 0.5898 GB, free: 19.55 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.0002138/0.3798, allocations: 184.2 kB / 0.59 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.38, allocations: 72.75 kB / 0.5901 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.38, allocations: 2.781 kB / 0.5901 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.38, allocations: 0 / 0.5901 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.3803, allocations: 477.5 kB / 0.5905 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.3806, allocations: 225.9 kB / 0.5907 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3808, allocations: 0.6942 MB / 0.5914 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.381, allocations: 58.72 kB / 0.5915 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.381, allocations: 14.66 kB / 0.5915 GB, free: 17.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.381, allocations: 0.625 kB / 0.5915 GB, free: 17.95 MB / 446.1 MB Notification: Performance of Templates: time 0.004256/0.3853, allocations: 1.663 MB / 0.5931 GB, free: 17.18 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)