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.001594/0.001595, allocations: 113.4 kB / 16.41 MB, free: 6.027 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.001708/0.001708, allocations: 188.3 kB / 17.34 MB, free: 5.633 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7727/0.7727, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 64.48 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 80.21 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001651/0.1469, allocations: 0.6019 MB / 0.661 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000277/0.1472, allocations: 67.84 kB / 0.661 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.1473, allocations: 3.938 kB / 0.661 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.1473, allocations: 0 / 0.661 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.1474, allocations: 11.92 kB / 0.661 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1476, allocations: 39.95 kB / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.1477, allocations: 35.84 kB / 0.6611 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.1477, allocations: 0 / 0.6611 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.381e-05/0.1478, allocations: 19.97 kB / 0.6611 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1479, allocations: 63.89 kB / 0.6612 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1479, allocations: 0 / 0.6612 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.148, allocations: 39.95 kB / 0.6612 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.1481, allocations: 16 kB / 0.6612 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.1481, allocations: 27.78 kB / 0.6613 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1482, allocations: 55.86 kB / 0.6613 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1482, allocations: 4 kB / 0.6613 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1483, allocations: 0 / 0.6613 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1483, allocations: 4 kB / 0.6613 GB, free: 9.223 MB / 0.4981 GB 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.0003364/0.1486, allocations: 371.3 kB / 0.6617 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1486, allocations: 8.031 kB / 0.6617 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.1487, allocations: 4.938 kB / 0.6617 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/0.1488, allocations: 170.8 kB / 0.6619 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1488, allocations: 4.375 kB / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.1488, allocations: 384 / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.149, allocations: 188.5 kB / 0.662 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1491, allocations: 0 / 0.662 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1491, allocations: 4 kB / 0.662 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.1491, allocations: 19.98 kB / 0.6621 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.1492, allocations: 43.84 kB / 0.6621 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.1498, allocations: 0.9023 MB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.954e-05/0.1499, allocations: 173.4 kB / 0.6632 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.15, allocations: 80.14 kB / 0.6632 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.15, allocations: 75.31 kB / 0.6633 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.15, allocations: 117.8 kB / 0.6634 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.15, allocations: 0 / 0.6634 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.203e-05/0.1501, allocations: 33.61 kB / 0.6634 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.1503, allocations: 395.6 kB / 0.6638 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1504, allocations: 168.5 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1505, allocations: 29.7 kB / 0.664 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.1505, allocations: 147.1 kB / 0.6642 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.1505, allocations: 4 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.1506, allocations: 53.61 kB / 0.6642 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1507, allocations: 326.8 kB / 0.6645 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.1508, allocations: 27.92 kB / 0.6645 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1509, allocations: 218.5 kB / 0.6648 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.1511, allocations: 197.8 kB / 0.6649 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1512, allocations: 0 / 0.6649 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002711/0.1514, allocations: 193.6 kB / 0.6651 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1514, allocations: 9.719 kB / 0.6651 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1515, allocations: 4 kB / 0.6651 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.1515, allocations: 11.94 kB / 0.6652 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1516, allocations: 39.92 kB / 0.6652 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1516, allocations: 15.92 kB / 0.6652 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.1517, allocations: 31.69 kB / 0.6652 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1517, allocations: 11.94 kB / 0.6652 GB, free: 4.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.1519, allocations: 217.2 kB / 0.6655 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.1519, allocations: 112.9 kB / 0.6656 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.152, allocations: 116.8 kB / 0.6657 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/0.1521, allocations: 188.2 kB / 0.6659 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.165e-05/0.1521, allocations: 180.2 kB / 0.666 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-05/0.1522, allocations: 184.3 kB / 0.6662 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1524, allocations: 417.2 kB / 0.6666 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/0.1524, allocations: 108.9 kB / 0.6667 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1525, allocations: 105 kB / 0.6668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/0.1525, allocations: 180.2 kB / 0.667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.1526, allocations: 180.3 kB / 0.6671 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/0.1527, allocations: 184.2 kB / 0.6673 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.437e-05/0.1527, allocations: 180.2 kB / 0.6675 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1529, allocations: 315.7 kB / 0.6678 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.153, allocations: 186 kB / 0.668 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.153, allocations: 192.2 kB / 0.6682 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.1531, allocations: 108.9 kB / 0.6683 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.1532, allocations: 180.6 kB / 0.6684 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.1532, allocations: 104.9 kB / 0.6685 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.928e-05/0.1533, allocations: 113.5 kB / 0.6686 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1533, allocations: 0 / 0.6686 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002974/0.1536, allocations: 28 kB / 0.6687 GB, free: 0.9961 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 (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.0001734/0.1538, allocations: 186.5 kB / 0.6688 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.154, allocations: 79.81 kB / 0.6689 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.154, allocations: 1.312 kB / 0.6689 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.154, allocations: 0 / 0.6689 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1543, allocations: 474.4 kB / 0.6694 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.1546, allocations: 260.1 kB / 0.6696 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1549, allocations: 0.6891 MB / 0.6703 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.1549, allocations: 19.38 kB / 0.6703 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1549, allocations: 0 / 0.6703 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.003164/0.1581, allocations: 1.707 MB / 0.672 GB, free: 13.55 MB / 0.5137 GB 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)