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.001166/0.001167, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7953/0.7953, allocations: 130.7 MB / 138.7 MB, free: 3.562 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.628/1.628, allocations: 221.5 MB / 391.8 MB, free: 14.21 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.0009403/0.0009398, allocations: 97.78 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.256e-05, allocations: 8 kB / 0.5485 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.531, allocations: 81.57 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.6882, allocations: 110.1 MB / 0.7357 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.6885, allocations: 79.89 kB / 0.7358 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00312/0.6916, allocations: 1.172 MB / 0.7369 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6916, allocations: 0 / 0.7369 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6916, allocations: 0 / 0.7369 GB, free: 15.43 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.0003351/0.692, allocations: 350.3 kB / 0.7372 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.692, allocations: 8.031 kB / 0.7372 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.6921, allocations: 7.906 kB / 0.7372 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.6922, allocations: 175 kB / 0.7374 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6922, allocations: 0 / 0.7374 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.6923, allocations: 0 / 0.7374 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.947e-05/0.6924, allocations: 40.11 kB / 0.7375 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.6926, allocations: 151.4 kB / 0.7376 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6926, allocations: 1.875 kB / 0.7376 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.6926, allocations: 7.938 kB / 0.7376 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.6927, allocations: 15.98 kB / 0.7376 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.6934, allocations: 0.8709 MB / 0.7385 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.6935, allocations: 169.1 kB / 0.7386 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.6935, allocations: 88.14 kB / 0.7387 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.6936, allocations: 75.28 kB / 0.7388 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.6936, allocations: 105.8 kB / 0.7389 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6936, allocations: 0 / 0.7389 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.196e-05/0.6937, allocations: 42.48 kB / 0.7389 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.6939, allocations: 316.4 kB / 0.7392 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.694, allocations: 145.9 kB / 0.7394 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.6941, allocations: 29.7 kB / 0.7394 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.6942, allocations: 147.3 kB / 0.7395 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-06/0.6942, allocations: 3.984 kB / 0.7395 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.6942, allocations: 0 / 0.7395 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6943, allocations: 318.8 kB / 0.7398 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.6944, allocations: 20.36 kB / 0.7399 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.6945, allocations: 218 kB / 0.7401 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.6946, allocations: 63.84 kB / 0.7401 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6946, allocations: 4 kB / 0.7401 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002638/0.6949, allocations: 161.8 kB / 0.7403 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6949, allocations: 5.406 kB / 0.7403 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.695, allocations: 8.547 kB / 0.7403 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.695, allocations: 4 kB / 0.7403 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.6951, allocations: 43.92 kB / 0.7404 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6951, allocations: 4 kB / 0.7404 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.6952, allocations: 31.67 kB / 0.7404 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.6952, allocations: 8 kB / 0.7404 GB, free: 11.46 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.0001287/0.6954, allocations: 204 kB / 0.7406 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.6955, allocations: 112.9 kB / 0.7407 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.6955, allocations: 109 kB / 0.7408 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-05/0.6956, allocations: 184.2 kB / 0.741 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.496e-05/0.6957, allocations: 180.6 kB / 0.7411 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-05/0.6958, allocations: 180.3 kB / 0.7413 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.696, allocations: 409.7 kB / 0.7417 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-05/0.6961, allocations: 101 kB / 0.7418 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.6961, allocations: 105 kB / 0.7419 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-05/0.6962, allocations: 188.1 kB / 0.7421 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.6963, allocations: 176.3 kB / 0.7423 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.626e-05/0.6963, allocations: 180.3 kB / 0.7424 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.041e-05/0.6964, allocations: 188.2 kB / 0.7426 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.6966, allocations: 304.7 kB / 0.7429 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.6967, allocations: 185.9 kB / 0.7431 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.6968, allocations: 184.2 kB / 0.7432 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.6969, allocations: 117 kB / 0.7434 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.697, allocations: 180.2 kB / 0.7435 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.697, allocations: 101 kB / 0.7436 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.832e-05/0.6971, allocations: 107.8 kB / 0.7437 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6971, allocations: 0 / 0.7437 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003162/0.6974, allocations: 20 kB / 0.7438 GB, free: 7.809 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.0002507/0.6977, allocations: 190.5 kB / 0.7439 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.6978, allocations: 64.11 kB / 0.744 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6979, allocations: 0 / 0.744 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.6979, allocations: 0 / 0.744 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.6982, allocations: 0.5315 MB / 0.7445 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.6985, allocations: 187.6 kB / 0.7447 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.6988, allocations: 0.6968 MB / 0.7454 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.699, allocations: 52.81 kB / 0.7454 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.699, allocations: 19.38 kB / 0.7454 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.6991, allocations: 0 / 0.7454 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of Templates: time 0.004163/0.7032, allocations: 1.688 MB / 0.7471 GB, free: 4.359 MB / 0.5261 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)