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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 185.6 kB / 7.46 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6674/0.6674, allocations: 130.6 MB / 138.5 MB, free: 2.285 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.511/1.511, allocations: 221.3 MB / 391.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 95.03 kB / 473.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.082e-05, allocations: 3.219 kB / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1601, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.6098, allocations: 110 MB / 0.735 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.6101, allocations: 73.94 kB / 0.7351 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002818/0.6129, allocations: 0.8643 MB / 0.7359 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6129, allocations: 0 / 0.7359 GB, free: 11.49 MB / 0.4948 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.000309/0.6133, allocations: 343.5 kB / 0.7363 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6133, allocations: 7.688 kB / 0.7363 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.6133, allocations: 7.781 kB / 0.7363 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.343e-05/0.6134, allocations: 169 kB / 0.7364 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.6135, allocations: 0 / 0.7364 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.6135, allocations: 0 / 0.7364 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.01e-05/0.6136, allocations: 43.02 kB / 0.7365 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.6137, allocations: 158.7 kB / 0.7366 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6137, allocations: 3.938 kB / 0.7366 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6138, allocations: 3.844 kB / 0.7366 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.6138, allocations: 25.12 kB / 0.7367 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.6144, allocations: 0.8719 MB / 0.7375 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.6145, allocations: 174.9 kB / 0.7377 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.6146, allocations: 80.89 kB / 0.7377 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.6146, allocations: 79.28 kB / 0.7378 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.6147, allocations: 113.6 kB / 0.7379 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6147, allocations: 0 / 0.7379 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.516e-05/0.6147, allocations: 39.08 kB / 0.738 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.6149, allocations: 317.5 kB / 0.7383 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.615, allocations: 151 kB / 0.7384 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.615, allocations: 27.16 kB / 0.7384 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.6151, allocations: 150.4 kB / 0.7386 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.6151, allocations: 1.453 kB / 0.7386 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.6151, allocations: 0 / 0.7386 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6153, allocations: 320.3 kB / 0.7389 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.6153, allocations: 21.89 kB / 0.7389 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.6154, allocations: 216.1 kB / 0.7391 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.6155, allocations: 55.8 kB / 0.7392 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6155, allocations: 7.812 kB / 0.7392 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002408/0.6157, allocations: 159 kB / 0.7393 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.6158, allocations: 11.67 kB / 0.7393 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6158, allocations: 3.875 kB / 0.7393 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6158, allocations: 7.594 kB / 0.7394 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.6159, allocations: 42.77 kB / 0.7394 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.6159, allocations: 9.766 kB / 0.7394 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.616, allocations: 17.66 kB / 0.7394 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.616, allocations: 11.56 kB / 0.7394 GB, free: 24.23 MB / 0.5105 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.0001088/0.6162, allocations: 200.1 kB / 0.7396 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.6162, allocations: 117.3 kB / 0.7397 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.6163, allocations: 113.9 kB / 0.7398 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.454e-05/0.6164, allocations: 181 kB / 0.74 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.283e-05/0.6164, allocations: 177.3 kB / 0.7402 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/0.6165, allocations: 180.9 kB / 0.7404 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.6167, allocations: 404.1 kB / 0.7407 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/0.6168, allocations: 101.7 kB / 0.7408 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.6168, allocations: 107 kB / 0.7409 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.743e-05/0.6169, allocations: 181 kB / 0.7411 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.617, allocations: 184.1 kB / 0.7413 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.999e-05/0.6171, allocations: 177 kB / 0.7415 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.165e-05/0.6171, allocations: 188.9 kB / 0.7416 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001346/0.6173, allocations: 308.9 kB / 0.7419 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.6174, allocations: 186.8 kB / 0.7421 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/0.6175, allocations: 181.1 kB / 0.7423 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.6176, allocations: 103.8 kB / 0.7424 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.6176, allocations: 200.8 kB / 0.7426 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.6177, allocations: 101.8 kB / 0.7427 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.918e-05/0.6177, allocations: 111.1 kB / 0.7428 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003075/0.6181, allocations: 23.55 kB / 0.7428 GB, free: 20.71 MB / 0.5105 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.000196/0.6183, allocations: 182.7 kB / 0.743 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.6184, allocations: 70.62 kB / 0.743 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6184, allocations: 3.812 kB / 0.743 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.6184, allocations: 0 / 0.743 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.6187, allocations: 0.5358 MB / 0.7436 GB, free: 20 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.619, allocations: 175.6 kB / 0.7437 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.6192, allocations: 0.7135 MB / 0.7444 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/0.6192, allocations: 0 / 0.7444 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.00367/0.6229, allocations: 1.745 MB / 0.7461 GB, free: 18.99 MB / 0.5105 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)