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.001678/0.001678, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7658/0.7658, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 395.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009905, allocations: 97.47 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.777e-05, allocations: 8 kB / 0.5535 GB, free: 9.039 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.522, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.679, allocations: 110.3 MB / 0.7416 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.6794, allocations: 71.95 kB / 0.7416 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003438/0.6828, allocations: 1.17 MB / 0.7428 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6829, allocations: 4 kB / 0.7428 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.6829, allocations: 4 kB / 0.7428 GB, free: 11.2 MB / 0.5261 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.0003469/0.6832, allocations: 342.4 kB / 0.7431 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6833, allocations: 12.03 kB / 0.7431 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.6834, allocations: 7.906 kB / 0.7431 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.6835, allocations: 170.9 kB / 0.7433 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.6835, allocations: 0 / 0.7433 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.6835, allocations: 4 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/0.6836, allocations: 32.17 kB / 0.7433 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.6839, allocations: 161.7 kB / 0.7435 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6839, allocations: 0 / 0.7435 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.6839, allocations: 0 / 0.7435 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.6839, allocations: 19.98 kB / 0.7435 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007655/0.6847, allocations: 0.8748 MB / 0.7444 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.6848, allocations: 169.1 kB / 0.7445 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.6849, allocations: 80.14 kB / 0.7446 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.6849, allocations: 75.28 kB / 0.7447 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.685, allocations: 113.8 kB / 0.7448 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.685, allocations: 0 / 0.7448 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.6851, allocations: 37.59 kB / 0.7448 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.6853, allocations: 320.4 kB / 0.7451 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6855, allocations: 148.4 kB / 0.7453 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.6855, allocations: 25.7 kB / 0.7453 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6856, allocations: 151.3 kB / 0.7454 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.6856, allocations: 8 kB / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.6856, allocations: 0 / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6858, allocations: 314.8 kB / 0.7457 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.6858, allocations: 20.38 kB / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.686, allocations: 219.1 kB / 0.746 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.147e-05/0.6861, allocations: 59.83 kB / 0.746 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6861, allocations: 4 kB / 0.746 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002869/0.6864, allocations: 161.6 kB / 0.7462 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6864, allocations: 8.094 kB / 0.7462 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6865, allocations: 7.938 kB / 0.7462 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.6865, allocations: 8 kB / 0.7462 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.6866, allocations: 35.92 kB / 0.7462 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.6866, allocations: 15.92 kB / 0.7463 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.6867, allocations: 19.75 kB / 0.7463 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.6868, allocations: 12 kB / 0.7463 GB, free: 7.23 MB / 0.5261 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.0001141/0.6869, allocations: 196.4 kB / 0.7465 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.687, allocations: 116.8 kB / 0.7466 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.687, allocations: 116.9 kB / 0.7467 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.666e-05/0.6871, allocations: 184.2 kB / 0.7469 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.439e-05/0.6872, allocations: 176.6 kB / 0.747 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.365e-05/0.6872, allocations: 192.2 kB / 0.7472 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.6875, allocations: 393.8 kB / 0.7476 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/0.6875, allocations: 101 kB / 0.7477 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.6875, allocations: 108.9 kB / 0.7478 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.481e-05/0.6876, allocations: 180.3 kB / 0.748 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.6877, allocations: 180.2 kB / 0.7482 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.294e-05/0.6878, allocations: 184.2 kB / 0.7483 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.654e-05/0.6878, allocations: 180.2 kB / 0.7485 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.688, allocations: 308.7 kB / 0.7488 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.6881, allocations: 190 kB / 0.749 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.672e-05/0.6882, allocations: 188.2 kB / 0.7492 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.6883, allocations: 108.9 kB / 0.7493 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.6883, allocations: 176.3 kB / 0.7494 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.6884, allocations: 105 kB / 0.7495 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.765e-05/0.6885, allocations: 111.8 kB / 0.7496 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6885, allocations: 3.938 kB / 0.7496 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003061/0.6888, allocations: 20 kB / 0.7497 GB, free: 3.582 MB / 0.5261 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.000217/0.689, allocations: 190.5 kB / 0.7498 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.6892, allocations: 60.17 kB / 0.7499 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6892, allocations: 0 / 0.7499 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.6892, allocations: 1.312 kB / 0.7499 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.6895, allocations: 0.5398 MB / 0.7504 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.6897, allocations: 178.4 kB / 0.7506 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.69, allocations: 0.6929 MB / 0.7513 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.6901, allocations: 52.72 kB / 0.7513 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.6902, allocations: 15.44 kB / 0.7513 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.6902, allocations: 0 / 0.7513 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of Templates: time 0.004164/0.6943, allocations: 1.682 MB / 0.753 GB, free: 148 kB / 0.5261 GB 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)