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-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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, 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.7889/0.7889, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.426/1.426, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0009126/0.0009126, allocations: 99.75 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.151e-05, allocations: 8 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4352, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5773, allocations: 110.3 MB / 0.7417 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5776, allocations: 75.95 kB / 0.7417 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003037/0.5806, allocations: 1.17 MB / 0.7429 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.717e-06/0.5807, allocations: 4 kB / 0.7429 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5807, allocations: 0 / 0.7429 GB, free: 11.08 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.0002829/0.581, allocations: 349.8 kB / 0.7432 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.581, allocations: 8.031 kB / 0.7432 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.5811, allocations: 7.906 kB / 0.7432 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.915e-05/0.5812, allocations: 174.9 kB / 0.7434 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5812, allocations: 0 / 0.7434 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5812, allocations: 0 / 0.7434 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.844e-05/0.5813, allocations: 36.17 kB / 0.7434 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.5815, allocations: 155.3 kB / 0.7436 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.5815, allocations: 0 / 0.7436 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.5815, allocations: 0 / 0.7436 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.5816, allocations: 23.98 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.5822, allocations: 0.8638 MB / 0.7445 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/0.5823, allocations: 169.1 kB / 0.7446 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.5823, allocations: 84.14 kB / 0.7447 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.5823, allocations: 75.28 kB / 0.7448 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.5824, allocations: 109.8 kB / 0.7449 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5824, allocations: 0 / 0.7449 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.212e-05/0.5825, allocations: 45.53 kB / 0.7449 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.5826, allocations: 308.4 kB / 0.7452 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.5828, allocations: 151.8 kB / 0.7454 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5828, allocations: 29.7 kB / 0.7454 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.5829, allocations: 151.3 kB / 0.7455 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.5829, allocations: 3.938 kB / 0.7455 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5829, allocations: 0 / 0.7455 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.583, allocations: 322.8 kB / 0.7458 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.583, allocations: 16.38 kB / 0.7459 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.5832, allocations: 217.7 kB / 0.7461 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.21e-05/0.5833, allocations: 59.89 kB / 0.7461 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5833, allocations: 0 / 0.7461 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002929/0.5836, allocations: 169.7 kB / 0.7463 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.5836, allocations: 4.781 kB / 0.7463 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5837, allocations: 4 kB / 0.7463 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5837, allocations: 11.98 kB / 0.7463 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5838, allocations: 43.92 kB / 0.7463 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5838, allocations: 7.938 kB / 0.7464 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.5839, allocations: 23.84 kB / 0.7464 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.5839, allocations: 15.94 kB / 0.7464 GB, free: 7.105 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.0001202/0.5841, allocations: 196.2 kB / 0.7466 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.896e-05/0.5842, allocations: 142.5 kB / 0.7467 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.5842, allocations: 112.9 kB / 0.7468 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.5843, allocations: 113.3 kB / 0.7469 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.426e-05/0.5844, allocations: 180.3 kB / 0.7471 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-05/0.5845, allocations: 184.2 kB / 0.7473 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.429e-05/0.5846, allocations: 184.2 kB / 0.7475 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.5848, allocations: 397.7 kB / 0.7478 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.484e-05/0.5849, allocations: 108.9 kB / 0.7479 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.585, allocations: 101 kB / 0.748 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.585, allocations: 180.2 kB / 0.7482 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/0.5851, allocations: 180.2 kB / 0.7484 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.798e-05/0.5852, allocations: 181.2 kB / 0.7486 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.723e-05/0.5853, allocations: 180.3 kB / 0.7487 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.5855, allocations: 315.7 kB / 0.749 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5856, allocations: 189.9 kB / 0.7492 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.5857, allocations: 188.2 kB / 0.7494 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.5858, allocations: 101 kB / 0.7495 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.5859, allocations: 188.5 kB / 0.7497 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.5859, allocations: 105 kB / 0.7498 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.668e-05/0.586, allocations: 107.8 kB / 0.7499 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.586, allocations: 3.938 kB / 0.7499 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003517/0.5864, allocations: 24 kB / 0.7499 GB, free: 3.305 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.0005126/0.5869, allocations: 0.8344 MB / 0.7507 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.587, allocations: 60.61 kB / 0.7508 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5871, allocations: 0.5 kB / 0.7508 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/0.5871, allocations: 8 kB / 0.7508 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.5874, allocations: 0.5302 MB / 0.7513 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.5879, allocations: 217.2 kB / 0.7515 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.5882, allocations: 0.6968 MB / 0.7522 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.5884, allocations: 52.73 kB / 0.7522 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.5884, allocations: 27.42 kB / 0.7523 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.5884, allocations: 4 kB / 0.7523 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.612, allocations: 2.473 MB / 0.7547 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.6122, allocations: 130.2 kB / 0.7548 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.251, allocations: 0 / 0.7548 GB, free: 14.15 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)