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.007537/0.007537, allocations: 168.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7198/0.7198, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 403.2 MB, free: 6.727 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.0008666/0.0008666, allocations: 87.48 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005835/0.0005834, allocations: 16 kB / 0.5641 GB, free: 2.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4082, allocations: 81.57 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5542, allocations: 110.8 MB / 0.752 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5546, allocations: 75.95 kB / 0.752 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003186/0.5578, allocations: 1.17 MB / 0.7532 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5578, allocations: 0 / 0.7532 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.5578, allocations: 4 kB / 0.7532 GB, free: 7.883 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.0003651/0.5582, allocations: 343.3 kB / 0.7535 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5583, allocations: 12.03 kB / 0.7535 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.5583, allocations: 11.91 kB / 0.7535 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.5584, allocations: 171 kB / 0.7537 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5584, allocations: 0 / 0.7537 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.5585, allocations: 7.938 kB / 0.7537 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.5587, allocations: 158.7 kB / 0.7539 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5587, allocations: 4 kB / 0.7539 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5588, allocations: 0 / 0.7539 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.611e-05/0.5588, allocations: 27.91 kB / 0.7539 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.5589, allocations: 39.84 kB / 0.7539 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.5596, allocations: 0.9016 MB / 0.7548 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.5597, allocations: 165.1 kB / 0.755 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.5597, allocations: 75.28 kB / 0.755 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.5598, allocations: 117.8 kB / 0.7552 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5598, allocations: 3.938 kB / 0.7552 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.575e-05/0.5598, allocations: 41.55 kB / 0.7552 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.56, allocations: 391.7 kB / 0.7556 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.5602, allocations: 149.4 kB / 0.7557 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5602, allocations: 25.7 kB / 0.7557 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5603, allocations: 143.3 kB / 0.7559 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.5603, allocations: 8 kB / 0.7559 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.5603, allocations: 4 kB / 0.7559 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5605, allocations: 326.8 kB / 0.7562 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.5605, allocations: 24.36 kB / 0.7562 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.5607, allocations: 221.9 kB / 0.7564 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.5608, allocations: 67.84 kB / 0.7565 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5608, allocations: 0 / 0.7565 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002795/0.5611, allocations: 193.1 kB / 0.7567 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5611, allocations: 6.188 kB / 0.7567 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5611, allocations: 8.656 kB / 0.7567 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.5611, allocations: 4 kB / 0.7567 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5613, allocations: 43.92 kB / 0.7567 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5613, allocations: 7.984 kB / 0.7568 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.392e-05/0.5614, allocations: 27.75 kB / 0.7568 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.5614, allocations: 12 kB / 0.7568 GB, free: 3.797 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 () * 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.0001342/0.5615, allocations: 216.9 kB / 0.757 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.5616, allocations: 116.8 kB / 0.7571 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.5617, allocations: 108.9 kB / 0.7572 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.35e-05/0.5617, allocations: 192.2 kB / 0.7574 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.427e-05/0.5618, allocations: 176.6 kB / 0.7576 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-05/0.5619, allocations: 184.3 kB / 0.7577 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.5621, allocations: 421.1 kB / 0.7581 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/0.5622, allocations: 109 kB / 0.7582 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.5622, allocations: 110.4 kB / 0.7584 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.342e-05/0.5623, allocations: 176.3 kB / 0.7585 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.5624, allocations: 176.3 kB / 0.7587 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-05/0.5625, allocations: 184.2 kB / 0.7589 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.425e-05/0.5625, allocations: 180.3 kB / 0.759 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5627, allocations: 315.7 kB / 0.7593 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.5628, allocations: 193.9 kB / 0.7595 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.5629, allocations: 184.3 kB / 0.7597 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.563, allocations: 112.9 kB / 0.7598 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.563, allocations: 180.2 kB / 0.76 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.5631, allocations: 105 kB / 0.7601 GB, free: 212 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.5632, allocations: 115.8 kB / 0.7602 GB, free: 96 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5632, allocations: 0 / 0.7602 GB, free: 96 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002906/0.5635, allocations: 24 kB / 0.7602 GB, free: 72 kB / 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 () * 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.000245/0.5637, allocations: 194.5 kB / 0.7604 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.5639, allocations: 76.67 kB / 0.7605 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5639, allocations: 4 kB / 0.7605 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.5639, allocations: 0 / 0.7605 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.5642, allocations: 0.5224 MB / 0.761 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.5645, allocations: 251.2 kB / 0.7612 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.5649, allocations: 0.6932 MB / 0.7619 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.565, allocations: 52.61 kB / 0.7619 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.5651, allocations: 15.44 kB / 0.762 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/0.5651, allocations: 0 / 0.762 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.004181/0.5692, allocations: 1.697 MB / 0.7636 GB, free: 12.54 MB / 0.5417 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)