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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009538/0.0009537, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.722/0.722, allocations: 130.6 MB / 143.8 MB, free: 13.59 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.783/1.783, allocations: 221.3 MB / 396.8 MB, free: 9.172 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.0009043/0.0009042, allocations: 95.31 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.899e-05, allocations: 5.5 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 81.58 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5987/0.7725, allocations: 110.7 MB / 0.7429 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.7728, allocations: 74.66 kB / 0.743 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003323/0.7761, allocations: 1.182 MB / 0.7441 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7761, allocations: 0 / 0.7441 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7762, allocations: 0 / 0.7441 GB, free: 28.03 MB / 0.5105 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.0002771/0.7764, allocations: 341.9 kB / 0.7445 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.7765, allocations: 11.53 kB / 0.7445 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.7765, allocations: 11.69 kB / 0.7445 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.7767, allocations: 172.5 kB / 0.7446 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7767, allocations: 4 kB / 0.7446 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.7767, allocations: 7.672 kB / 0.7447 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.7769, allocations: 158.8 kB / 0.7448 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.777, allocations: 1.203 kB / 0.7448 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.777, allocations: 6.656 kB / 0.7448 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-05/0.777, allocations: 20.12 kB / 0.7448 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-05/0.7771, allocations: 41.78 kB / 0.7449 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.7778, allocations: 0.8907 MB / 0.7457 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.7778, allocations: 170.8 kB / 0.7459 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.7779, allocations: 80.14 kB / 0.746 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.7779, allocations: 75.28 kB / 0.7461 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.778, allocations: 113.2 kB / 0.7462 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.778, allocations: 4 kB / 0.7462 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.222e-05/0.7781, allocations: 38.23 kB / 0.7462 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.7782, allocations: 396.4 kB / 0.7466 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.7784, allocations: 153 kB / 0.7467 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.7784, allocations: 29.14 kB / 0.7468 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.7785, allocations: 146.1 kB / 0.7469 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.7785, allocations: 6.344 kB / 0.7469 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.7785, allocations: 3.438 kB / 0.7469 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7786, allocations: 329.4 kB / 0.7472 GB, free: 25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.592e-05/0.7786, allocations: 21.36 kB / 0.7472 GB, free: 25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.7787, allocations: 219.5 kB / 0.7474 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.7788, allocations: 63.23 kB / 0.7475 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7788, allocations: 4 kB / 0.7475 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002781/0.7791, allocations: 186 kB / 0.7477 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7792, allocations: 11.78 kB / 0.7477 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.7792, allocations: 3.844 kB / 0.7477 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.7792, allocations: 11.62 kB / 0.7477 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.7793, allocations: 39.5 kB / 0.7477 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.7793, allocations: 3.875 kB / 0.7478 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.7794, allocations: 26.56 kB / 0.7478 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7795, allocations: 13.81 kB / 0.7478 GB, free: 24.65 MB / 0.5105 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 () * 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.0001121/0.7796, allocations: 206.2 kB / 0.748 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.7797, allocations: 116.7 kB / 0.7481 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.7797, allocations: 113.5 kB / 0.7482 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.46e-05/0.7798, allocations: 180.4 kB / 0.7484 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.408e-05/0.7799, allocations: 182.5 kB / 0.7486 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.009e-05/0.7799, allocations: 180.3 kB / 0.7487 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.7802, allocations: 428.9 kB / 0.7491 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.7802, allocations: 108.9 kB / 0.7492 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.7803, allocations: 101 kB / 0.7493 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.605e-05/0.7803, allocations: 184.2 kB / 0.7495 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.7804, allocations: 179.4 kB / 0.7497 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.108e-05/0.7804, allocations: 184.3 kB / 0.7499 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.495e-05/0.7805, allocations: 184 kB / 0.75 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.7807, allocations: 316.7 kB / 0.7503 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.7807, allocations: 184.7 kB / 0.7505 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/0.7808, allocations: 184 kB / 0.7507 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.7809, allocations: 109 kB / 0.7508 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.781, allocations: 190.7 kB / 0.751 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.781, allocations: 105 kB / 0.7511 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.223e-05/0.7811, allocations: 119.5 kB / 0.7512 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7811, allocations: 0 / 0.7512 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003164/0.7814, allocations: 26.16 kB / 0.7512 GB, free: 21.09 MB / 0.5105 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 () * 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.0002271/0.7817, allocations: 190 kB / 0.7514 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.7818, allocations: 73.38 kB / 0.7515 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.7818, allocations: 0 / 0.7515 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.7818, allocations: 3.938 kB / 0.7515 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.7822, allocations: 0.5355 MB / 0.752 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.7825, allocations: 180.8 kB / 0.7522 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.7828, allocations: 0.6972 MB / 0.7528 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.783, allocations: 56.36 kB / 0.7529 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.783, allocations: 15.12 kB / 0.7529 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.783, allocations: 0 / 0.7529 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.004277/0.7873, allocations: 1.694 MB / 0.7546 GB, free: 19.37 MB / 0.5105 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)