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.0008285/0.0008288, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008682/0.0008682, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.861/0.861, allocations: 135.2 MB / 426.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003102, allocations: 15.98 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008094/0.1449, allocations: 323 kB / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003272/0.1453, allocations: 67.88 kB / 0.5876 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1453, allocations: 0 / 0.5876 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.1454, allocations: 0 / 0.5876 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.1454, allocations: 7.938 kB / 0.5876 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1457, allocations: 31.95 kB / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.1458, allocations: 27.97 kB / 0.5876 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1459, allocations: 0 / 0.5876 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.1459, allocations: 19.98 kB / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1461, allocations: 75.84 kB / 0.5877 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1462, allocations: 0 / 0.5877 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.1463, allocations: 31.97 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.1463, allocations: 15.98 kB / 0.5878 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1463, allocations: 33.64 kB / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1464, allocations: 43.88 kB / 0.5879 GB, free: 2.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.1465, allocations: 3.938 kB / 0.5879 GB, free: 2.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1465, allocations: 4 kB / 0.5879 GB, free: 2.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1465, allocations: 4 kB / 0.5879 GB, free: 2.445 MB / 494.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.0003272/0.1468, allocations: 347.5 kB / 0.5882 GB, free: 2.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1469, allocations: 8.031 kB / 0.5882 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.1469, allocations: 7.906 kB / 0.5882 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.147, allocations: 171 kB / 0.5884 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.147, allocations: 0 / 0.5884 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.147, allocations: 4 kB / 0.5884 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.1473, allocations: 179.3 kB / 0.5885 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1473, allocations: 0 / 0.5885 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1473, allocations: 4 kB / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.1474, allocations: 19.98 kB / 0.5886 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.1475, allocations: 35.91 kB / 0.5886 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.1482, allocations: 0.914 MB / 0.5895 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.895e-05/0.1483, allocations: 173.1 kB / 0.5897 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.1483, allocations: 75.28 kB / 0.5897 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.1484, allocations: 113.9 kB / 0.5898 GB, free: 216 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1484, allocations: 0 / 0.5898 GB, free: 216 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.485e-05/0.1485, allocations: 37.61 kB / 0.5899 GB, free: 172 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.1486, allocations: 391.7 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1488, allocations: 167.3 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1488, allocations: 25.7 kB / 0.5904 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.1489, allocations: 151.3 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1489, allocations: 0 / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.1489, allocations: 4 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.149, allocations: 330.7 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.149, allocations: 24.36 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1492, allocations: 217.6 kB / 0.5911 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.1493, allocations: 67.78 kB / 0.5912 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1493, allocations: 0 / 0.5912 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002736/0.1496, allocations: 193.6 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1496, allocations: 8 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1496, allocations: 7.984 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1496, allocations: 7.938 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1498, allocations: 43.92 kB / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1498, allocations: 11.94 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.1499, allocations: 27.69 kB / 0.5915 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1499, allocations: 12 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.15, allocations: 214.8 kB / 0.5917 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.1501, allocations: 121 kB / 0.5918 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.1502, allocations: 116.7 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.791e-05/0.1502, allocations: 176.3 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.731e-05/0.1503, allocations: 176.3 kB / 0.5923 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/0.1504, allocations: 192.2 kB / 0.5924 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1506, allocations: 417.2 kB / 0.5928 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-05/0.1507, allocations: 108.9 kB / 0.5929 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.1507, allocations: 105 kB / 0.593 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.32e-05/0.1508, allocations: 184.2 kB / 0.5932 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.1508, allocations: 180.2 kB / 0.5934 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.163e-05/0.1509, allocations: 184.3 kB / 0.5936 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.744e-05/0.151, allocations: 180.2 kB / 0.5937 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1511, allocations: 311.8 kB / 0.594 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1512, allocations: 190 kB / 0.5942 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.1513, allocations: 176.3 kB / 0.5944 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.1514, allocations: 116.9 kB / 0.5945 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.1515, allocations: 180.2 kB / 0.5947 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.1515, allocations: 108.9 kB / 0.5948 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.17e-05/0.1516, allocations: 113.7 kB / 0.5949 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.1516, allocations: 0 / 0.5949 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003098/0.1519, allocations: 32 kB / 0.5949 GB, free: 10.59 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001718/0.1521, allocations: 182.5 kB / 0.5951 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1523, allocations: 75.78 kB / 0.5952 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1523, allocations: 0 / 0.5952 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.1523, allocations: 1.312 kB / 0.5952 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1526, allocations: 0.5361 MB / 0.5957 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.1528, allocations: 238.5 kB / 0.5959 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1531, allocations: 0.697 MB / 0.5966 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.1532, allocations: 60.58 kB / 0.5967 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.1533, allocations: 15.44 kB / 0.5967 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1533, allocations: 4 kB / 0.5967 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.003701/0.157, allocations: 1.687 MB / 0.5983 GB, free: 7.074 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: