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.007933/0.007933, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7929/0.7929, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.431/1.431, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.0008609/0.0008609, allocations: 99.19 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004744, allocations: 12 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4723, allocations: 82.32 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.6171, allocations: 111 MB / 0.7579 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.6174, allocations: 79.94 kB / 0.758 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003054/0.6204, allocations: 1.166 MB / 0.7592 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6205, allocations: 0 / 0.7592 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.6205, allocations: 4 kB / 0.7592 GB, free: 3.715 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.000288/0.6208, allocations: 347.2 kB / 0.7595 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6208, allocations: 8.031 kB / 0.7595 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.6209, allocations: 7.906 kB / 0.7595 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.621, allocations: 171 kB / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.621, allocations: 3.984 kB / 0.7597 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.621, allocations: 4 kB / 0.7597 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.6213, allocations: 167.2 kB / 0.7598 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6213, allocations: 4 kB / 0.7598 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.6213, allocations: 3.984 kB / 0.7598 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.6214, allocations: 27.92 kB / 0.7599 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.6215, allocations: 35.91 kB / 0.7599 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.6222, allocations: 0.8899 MB / 0.7608 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.6223, allocations: 177.1 kB / 0.7609 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.6223, allocations: 75.28 kB / 0.761 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.6224, allocations: 109.8 kB / 0.7611 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.355e-06/0.6224, allocations: 0 / 0.7611 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.244e-05/0.6225, allocations: 45.48 kB / 0.7612 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.6227, allocations: 383.7 kB / 0.7615 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.6228, allocations: 153.4 kB / 0.7617 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.6228, allocations: 33.7 kB / 0.7617 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.6229, allocations: 151.3 kB / 0.7618 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.623, allocations: 4 kB / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.623, allocations: 4 kB / 0.7619 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6231, allocations: 318.8 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.6231, allocations: 24.36 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.6233, allocations: 221.9 kB / 0.7624 GB, free: 16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.6234, allocations: 71.8 kB / 0.7625 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6235, allocations: 0 / 0.7625 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002976/0.6238, allocations: 189.7 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6238, allocations: 8 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.6238, allocations: 4 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.6238, allocations: 8 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.6239, allocations: 39.92 kB / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.624, allocations: 8 kB / 0.7627 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.6241, allocations: 27.75 kB / 0.7627 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.6241, allocations: 12 kB / 0.7627 GB, free: 15.63 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.6242, allocations: 221 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.6243, allocations: 116.8 kB / 0.7631 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.6244, allocations: 116.9 kB / 0.7632 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-05/0.6244, allocations: 180.2 kB / 0.7634 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.318e-05/0.6245, allocations: 176.6 kB / 0.7635 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.457e-05/0.6246, allocations: 184.2 kB / 0.7637 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.6248, allocations: 425.2 kB / 0.7641 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/0.6248, allocations: 106.6 kB / 0.7642 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.6249, allocations: 104.9 kB / 0.7643 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.625, allocations: 184.2 kB / 0.7645 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/0.625, allocations: 180.4 kB / 0.7647 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.566e-05/0.6251, allocations: 184.1 kB / 0.7648 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.715e-05/0.6252, allocations: 184.3 kB / 0.765 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.6253, allocations: 311.8 kB / 0.7653 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.6254, allocations: 189.9 kB / 0.7655 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/0.6255, allocations: 180.3 kB / 0.7657 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.6256, allocations: 112.9 kB / 0.7658 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.6257, allocations: 188.2 kB / 0.7659 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.6257, allocations: 101 kB / 0.766 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.219e-05/0.6258, allocations: 111.8 kB / 0.7661 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6258, allocations: 4 kB / 0.7661 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003344/0.6262, allocations: 24 kB / 0.7662 GB, free: 11.89 MB / 0.5417 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 (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.0002418/0.6264, allocations: 190.5 kB / 0.7664 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.6266, allocations: 72.05 kB / 0.7664 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6266, allocations: 0 / 0.7664 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-06/0.6266, allocations: 5.312 kB / 0.7664 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.627, allocations: 0.5354 MB / 0.7669 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.6273, allocations: 234.5 kB / 0.7672 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.6276, allocations: 0.6971 MB / 0.7679 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.6278, allocations: 60.58 kB / 0.7679 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.6278, allocations: 15.44 kB / 0.7679 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.6278, allocations: 4 kB / 0.7679 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of Templates: time 0.004411/0.6322, allocations: 1.682 MB / 0.7696 GB, free: 8.375 MB / 0.5417 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)