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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7745/0.7745, allocations: 133.3 MB / 150.1 MB, free: 11.19 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 404.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 91.77 kB / 485.9 MB, free: 7.199 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009851/0.0009851, allocations: 63.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1493, allocations: 80.44 MB / 0.6422 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001958/0.1513, allocations: 0.6466 MB / 0.6428 GB, free: 4.785 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.1517, allocations: 79.78 kB / 0.6429 GB, free: 4.707 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.1517, allocations: 0 / 0.6429 GB, free: 4.707 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.1517, allocations: 4 kB / 0.6429 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.1518, allocations: 7.984 kB / 0.6429 GB, free: 4.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1521, allocations: 35.95 kB / 0.6429 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.1521, allocations: 27.92 kB / 0.6429 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.1522, allocations: 3.984 kB / 0.6429 GB, free: 4.629 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.1522, allocations: 15.92 kB / 0.643 GB, free: 4.613 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1524, allocations: 63.94 kB / 0.643 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1525, allocations: 0 / 0.643 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1526, allocations: 35.95 kB / 0.6431 GB, free: 4.516 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.1526, allocations: 27.91 kB / 0.6431 GB, free: 4.488 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.1527, allocations: 23.81 kB / 0.6431 GB, free: 4.465 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1528, allocations: 67.78 kB / 0.6432 GB, free: 4.398 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1528, allocations: 0 / 0.6432 GB, free: 4.398 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1528, allocations: 4 kB / 0.6432 GB, free: 4.395 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1529, allocations: 0 / 0.6432 GB, free: 4.395 MB / 442.7 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.0004057/0.1533, allocations: 359.7 kB / 0.6435 GB, free: 3.992 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1533, allocations: 12.03 kB / 0.6435 GB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.1534, allocations: 12.78 kB / 0.6435 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1535, allocations: 164.4 kB / 0.6437 GB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1535, allocations: 4.375 kB / 0.6437 GB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1535, allocations: 4.375 kB / 0.6437 GB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.1538, allocations: 179.4 kB / 0.6439 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1538, allocations: 0 / 0.6439 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1538, allocations: 0 / 0.6439 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.1539, allocations: 27.98 kB / 0.6439 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.154, allocations: 39.84 kB / 0.6439 GB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.1547, allocations: 0.9061 MB / 0.6448 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.1548, allocations: 189 kB / 0.645 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.1549, allocations: 80.14 kB / 0.6451 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1549, allocations: 75.28 kB / 0.6452 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/0.1549, allocations: 113.8 kB / 0.6453 GB, free: 2.047 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.155, allocations: 0 / 0.6453 GB, free: 2.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 9.224e-05/0.1551, allocations: 33.64 kB / 0.6453 GB, free: 2.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/0.1553, allocations: 391.7 kB / 0.6457 GB, free: 1.551 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1555, allocations: 168.1 kB / 0.6458 GB, free: 1.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1555, allocations: 25.7 kB / 0.6459 GB, free: 1.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1556, allocations: 143.2 kB / 0.646 GB, free: 1.203 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1556, allocations: 7.984 kB / 0.646 GB, free: 1.195 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.1557, allocations: 61.61 kB / 0.6461 GB, free: 1.129 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1558, allocations: 314.8 kB / 0.6464 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.1559, allocations: 27.97 kB / 0.6464 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.1561, allocations: 222.5 kB / 0.6466 GB, free: 484 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1563, allocations: 197.8 kB / 0.6468 GB, free: 220 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1563, allocations: 0 / 0.6468 GB, free: 220 kB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002943/0.1566, allocations: 193.1 kB / 0.647 GB, free: 20 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1566, allocations: 11.94 kB / 0.647 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1566, allocations: 4 kB / 0.647 GB, free: 4 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.1567, allocations: 8.641 kB / 0.647 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1568, allocations: 43.88 kB / 0.647 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1568, allocations: 4 kB / 0.647 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.549e-05/0.1569, allocations: 35.77 kB / 0.6471 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1569, allocations: 15.94 kB / 0.6471 GB, free: 15.9 MB / 458.7 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.0001339/0.1571, allocations: 205.1 kB / 0.6473 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.1571, allocations: 120.8 kB / 0.6474 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.1572, allocations: 108.9 kB / 0.6475 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/0.1573, allocations: 188.2 kB / 0.6477 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.226e-05/0.1574, allocations: 188.2 kB / 0.6479 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/0.1574, allocations: 180.3 kB / 0.648 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1577, allocations: 417.2 kB / 0.6484 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-05/0.1577, allocations: 106.3 kB / 0.6485 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.1578, allocations: 105 kB / 0.6486 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-05/0.1578, allocations: 188.2 kB / 0.6488 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.1579, allocations: 176.3 kB / 0.649 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.989e-05/0.158, allocations: 192.1 kB / 0.6492 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.458e-05/0.158, allocations: 180.3 kB / 0.6493 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.1584, allocations: 0.8569 MB / 0.6502 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1585, allocations: 190 kB / 0.6504 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.1586, allocations: 176.5 kB / 0.6505 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1587, allocations: 112.9 kB / 0.6506 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.1588, allocations: 184.3 kB / 0.6508 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.1588, allocations: 112.9 kB / 0.6509 GB, free: 11.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.411e-05/0.1589, allocations: 118.2 kB / 0.651 GB, free: 11.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1589, allocations: 0 / 0.651 GB, free: 11.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.1593, allocations: 28 kB / 0.6511 GB, free: 11.57 MB / 458.7 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.0002054/0.1596, allocations: 178.5 kB / 0.6512 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1597, allocations: 79.84 kB / 0.6513 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1597, allocations: 0 / 0.6513 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.1597, allocations: 4 kB / 0.6513 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1601, allocations: 0.5373 MB / 0.6518 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.1604, allocations: 247.8 kB / 0.6521 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1607, allocations: 0.6932 MB / 0.6527 GB, free: 9.781 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.1609, allocations: 56.58 kB / 0.6528 GB, free: 9.727 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.1609, allocations: 15.38 kB / 0.6528 GB, free: 9.711 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.161, allocations: 0 / 0.6528 GB, free: 9.711 MB / 458.7 MB Notification: Performance of Templates: time 0.00463/0.1656, allocations: 1.755 MB / 0.6545 GB, free: 7.984 MB / 458.7 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)