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") [: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.00177/0.00177, allocations: 180.4 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5948/0.5948, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.141/1.141, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008253/0.0008253, allocations: 102.1 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.546e-06, allocations: 3 kB / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 82.32 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3077/0.4137, allocations: 110.2 MB / 0.7409 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.4139, allocations: 73.61 kB / 0.741 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002573/0.4165, allocations: 0.865 MB / 0.7418 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4166, allocations: 0 / 0.7418 GB, free: 10.82 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.000228/0.4168, allocations: 343.5 kB / 0.7421 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.4168, allocations: 7.812 kB / 0.7421 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.4169, allocations: 15.11 kB / 0.7422 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.417, allocations: 167.7 kB / 0.7423 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.417, allocations: 3.5 kB / 0.7423 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.417, allocations: 3.844 kB / 0.7423 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.989e-05/0.4171, allocations: 35.17 kB / 0.7424 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4172, allocations: 161.6 kB / 0.7425 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4172, allocations: 0 / 0.7425 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.4172, allocations: 4.422 kB / 0.7425 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.4173, allocations: 29.34 kB / 0.7425 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.4178, allocations: 0.8653 MB / 0.7434 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/0.4179, allocations: 172.2 kB / 0.7435 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.4179, allocations: 90.38 kB / 0.7436 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4179, allocations: 75.28 kB / 0.7437 GB, free: 25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.418, allocations: 112.8 kB / 0.7438 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.418, allocations: 0 / 0.7438 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.731e-05/0.4181, allocations: 34.77 kB / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.4182, allocations: 317.1 kB / 0.7441 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.4183, allocations: 144.5 kB / 0.7443 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4183, allocations: 29.7 kB / 0.7443 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.4184, allocations: 148.6 kB / 0.7445 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.4184, allocations: 6.938 kB / 0.7445 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.4184, allocations: 0 / 0.7445 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.4185, allocations: 321.7 kB / 0.7448 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.4185, allocations: 25.77 kB / 0.7448 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.4186, allocations: 216 kB / 0.745 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.4187, allocations: 59.88 kB / 0.7451 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4187, allocations: 4 kB / 0.7451 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002095/0.4189, allocations: 158.9 kB / 0.7452 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.4189, allocations: 8.953 kB / 0.7452 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4189, allocations: 7.75 kB / 0.7452 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4189, allocations: 7.719 kB / 0.7452 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.419, allocations: 42.36 kB / 0.7453 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.419, allocations: 5.578 kB / 0.7453 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.4191, allocations: 23.44 kB / 0.7453 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.4191, allocations: 7.656 kB / 0.7453 GB, free: 23.55 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 9.529e-05/0.4192, allocations: 199.6 kB / 0.7455 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.4193, allocations: 118.3 kB / 0.7456 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.4194, allocations: 112.6 kB / 0.7457 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.982e-05/0.4194, allocations: 181.5 kB / 0.7459 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-05/0.4195, allocations: 180.5 kB / 0.7461 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-05/0.4195, allocations: 177.5 kB / 0.7462 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4197, allocations: 405.8 kB / 0.7466 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/0.4197, allocations: 106.3 kB / 0.7467 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.4198, allocations: 102.3 kB / 0.7468 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-05/0.4198, allocations: 181.5 kB / 0.747 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.4199, allocations: 184.1 kB / 0.7472 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.455e-05/0.4199, allocations: 177.8 kB / 0.7473 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.012e-05/0.42, allocations: 183.7 kB / 0.7475 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000104/0.4201, allocations: 311.2 kB / 0.7478 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.4202, allocations: 187.3 kB / 0.748 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.4203, allocations: 182 kB / 0.7482 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.4203, allocations: 112.8 kB / 0.7483 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.4204, allocations: 181.8 kB / 0.7484 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4204, allocations: 108.8 kB / 0.7486 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.846e-05/0.4205, allocations: 111.3 kB / 0.7487 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002644/0.4208, allocations: 24.55 kB / 0.7487 GB, free: 20.04 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.0001445/0.4209, allocations: 190.9 kB / 0.7489 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.421, allocations: 69.38 kB / 0.7489 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.421, allocations: 0 / 0.7489 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.421, allocations: 3.938 kB / 0.7489 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4213, allocations: 0.5327 MB / 0.7495 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001826/0.4215, allocations: 177.8 kB / 0.7496 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4218, allocations: 0.7075 MB / 0.7503 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.4218, allocations: 3.875 kB / 0.7503 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.00323/0.425, allocations: 1.739 MB / 0.752 GB, free: 18.32 MB / 0.5105 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)