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.001333/0.001334, allocations: 109.9 kB / 16.38 MB, free: 6.43 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.001062/0.001062, allocations: 190.2 kB / 17.32 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.56 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 80.2 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001556/0.1438, allocations: 0.6154 MB / 0.6609 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.1441, allocations: 71.78 kB / 0.661 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1442, allocations: 0 / 0.661 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1442, allocations: 0 / 0.661 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.1443, allocations: 11.92 kB / 0.661 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1446, allocations: 39.95 kB / 0.661 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.1446, allocations: 23.97 kB / 0.6611 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.1447, allocations: 4 kB / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.54e-05/0.1447, allocations: 15.98 kB / 0.6611 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1449, allocations: 67.81 kB / 0.6611 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1449, allocations: 4 kB / 0.6611 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.145, allocations: 35.97 kB / 0.6612 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.145, allocations: 19.97 kB / 0.6612 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.1451, allocations: 23.81 kB / 0.6612 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1452, allocations: 59.78 kB / 0.6613 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1452, allocations: 12 kB / 0.6613 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1452, allocations: 0 / 0.6613 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1452, allocations: 0 / 0.6613 GB, free: 9.242 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.000352/0.1456, allocations: 367.4 kB / 0.6616 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1456, allocations: 8.031 kB / 0.6616 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.1457, allocations: 4.938 kB / 0.6617 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.1458, allocations: 170.8 kB / 0.6618 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1458, allocations: 4.375 kB / 0.6618 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.1458, allocations: 384 / 0.6618 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.146, allocations: 187.4 kB / 0.662 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1461, allocations: 0 / 0.662 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1461, allocations: 4 kB / 0.662 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.1461, allocations: 15.98 kB / 0.662 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.492e-05/0.1462, allocations: 43.91 kB / 0.6621 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.1468, allocations: 0.9061 MB / 0.6629 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.1469, allocations: 169.5 kB / 0.6631 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.147, allocations: 84.08 kB / 0.6632 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.147, allocations: 75.31 kB / 0.6633 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.147, allocations: 117.8 kB / 0.6634 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1471, allocations: 0 / 0.6634 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.984e-05/0.1471, allocations: 33.61 kB / 0.6634 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.1473, allocations: 391.7 kB / 0.6638 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1474, allocations: 172.4 kB / 0.6639 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1475, allocations: 25.7 kB / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1475, allocations: 151.1 kB / 0.6641 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.1476, allocations: 4 kB / 0.6641 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.1476, allocations: 57.55 kB / 0.6642 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1478, allocations: 318.8 kB / 0.6645 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.1478, allocations: 31.97 kB / 0.6645 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.148, allocations: 218.5 kB / 0.6647 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1482, allocations: 201.7 kB / 0.6649 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1482, allocations: 0 / 0.6649 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000277/0.1485, allocations: 189.4 kB / 0.6651 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1485, allocations: 9.875 kB / 0.6651 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1485, allocations: 8 kB / 0.6651 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1486, allocations: 7.938 kB / 0.6651 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1487, allocations: 43.92 kB / 0.6651 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1487, allocations: 15.92 kB / 0.6652 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.1488, allocations: 28.16 kB / 0.6652 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1488, allocations: 16 kB / 0.6652 GB, free: 4.746 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.0001251/0.1489, allocations: 213 kB / 0.6654 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.149, allocations: 112.9 kB / 0.6655 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.1491, allocations: 112.8 kB / 0.6656 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.996e-05/0.1491, allocations: 180.2 kB / 0.6658 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.465e-05/0.1492, allocations: 184.2 kB / 0.666 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.1493, allocations: 184.2 kB / 0.6661 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.1495, allocations: 421.2 kB / 0.6665 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.1495, allocations: 104.9 kB / 0.6666 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.1496, allocations: 109 kB / 0.6668 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.15e-05/0.1497, allocations: 180.2 kB / 0.6669 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.1498, allocations: 184.2 kB / 0.6671 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.06e-05/0.1498, allocations: 184.2 kB / 0.6673 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.809e-05/0.1499, allocations: 180.2 kB / 0.6674 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1501, allocations: 315.7 kB / 0.6677 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.1501, allocations: 190 kB / 0.6679 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.1502, allocations: 176.3 kB / 0.6681 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.1503, allocations: 120.8 kB / 0.6682 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1504, allocations: 176.6 kB / 0.6684 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.1504, allocations: 108.9 kB / 0.6685 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.1505, allocations: 113.5 kB / 0.6686 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1505, allocations: 0 / 0.6686 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003274/0.1509, allocations: 32 kB / 0.6686 GB, free: 1.016 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.0001722/0.151, allocations: 182.5 kB / 0.6688 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.1512, allocations: 80.91 kB / 0.6689 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1512, allocations: 8.188 kB / 0.6689 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1512, allocations: 4 kB / 0.6689 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1516, allocations: 463.7 kB / 0.6693 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.1519, allocations: 262.4 kB / 0.6696 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1521, allocations: 0.6929 MB / 0.6703 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.1522, allocations: 15.44 kB / 0.6703 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1522, allocations: 0 / 0.6703 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.003265/0.1554, allocations: 1.706 MB / 0.6719 GB, free: 13.56 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)