Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") [: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.001726/0.001726, allocations: 184.9 kB / 7.461 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.5967/0.5967, allocations: 133.5 MB / 141.4 MB, free: 15.75 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.11/1.11, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008647/0.0008647, allocations: 102.9 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.779e-06, allocations: 0 / 0.5528 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3/0.4018, allocations: 112.1 MB / 0.7427 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001593/0.4019, allocations: 74.59 kB / 0.7428 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.008513/0.4105, allocations: 3.221 MB / 0.7459 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4105, allocations: 0 / 0.7459 GB, free: 10.51 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005394/0.411, allocations: 445.2 kB / 0.7463 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.621e-05/0.4111, allocations: 12.14 kB / 0.7463 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.4111, allocations: 7.781 kB / 0.7463 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.4113, allocations: 200.6 kB / 0.7465 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4113, allocations: 6.656 kB / 0.7465 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.4113, allocations: 0 / 0.7465 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.4115, allocations: 39.98 kB / 0.7466 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4116, allocations: 73.92 kB / 0.7466 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.4116, allocations: 7.906 kB / 0.7467 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4116, allocations: 0.6094 kB / 0.7467 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4116, allocations: 3.812 kB / 0.7467 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.4122, allocations: 347.3 kB / 0.747 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.041e-05/0.4123, allocations: 46.72 kB / 0.747 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.4123, allocations: 43.41 kB / 0.7471 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.4124, allocations: 0 / 0.7471 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.4125, allocations: 79.41 kB / 0.7472 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.4125, allocations: 0 / 0.7472 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002192/0.4127, allocations: 112.2 kB / 0.7473 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.4127, allocations: 52.2 kB / 0.7473 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.4128, allocations: 121.6 kB / 0.7474 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4128, allocations: 29.55 kB / 0.7475 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.4129, allocations: 98.64 kB / 0.7475 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.4129, allocations: 21.58 kB / 0.7476 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.4129, allocations: 3.812 kB / 0.7476 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.413, allocations: 317 kB / 0.7479 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.4131, allocations: 34.81 kB / 0.7479 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.4131, allocations: 39.91 kB / 0.7479 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.4132, allocations: 35.17 kB / 0.748 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4132, allocations: 0 / 0.748 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001796/0.4134, allocations: 116.9 kB / 0.7481 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.4134, allocations: 12.31 kB / 0.7481 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4134, allocations: 0 / 0.7481 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4134, allocations: 0.6094 kB / 0.7481 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4136, allocations: 24.94 kB / 0.7481 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4136, allocations: 0 / 0.7481 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.4138, allocations: 32.53 kB / 0.7482 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.4138, allocations: 4.422 kB / 0.7482 GB, free: 24.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 7.098e-05/0.4139, allocations: 105.7 kB / 0.7483 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.4139, allocations: 8.328 kB / 0.7483 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4141, allocations: 123.8 kB / 0.7484 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4141, allocations: 3.875 kB / 0.7484 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4141, allocations: 0 / 0.7484 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4141, allocations: 4.641 kB / 0.7484 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.4142, allocations: 177.9 kB / 0.7486 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4143, allocations: 3.938 kB / 0.7486 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.4144, allocations: 33.14 kB / 0.7486 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4144, allocations: 0 / 0.7486 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4144, allocations: 4.547 kB / 0.7486 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4144, allocations: 0.6094 kB / 0.7486 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4144, allocations: 0 / 0.7486 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001612/0.4146, allocations: 124 kB / 0.7487 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.4146, allocations: 85.62 kB / 0.7488 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4147, allocations: 12.48 kB / 0.7488 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.4148, allocations: 17.28 kB / 0.7488 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.4149, allocations: 17.89 kB / 0.7488 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.4149, allocations: 0.7031 kB / 0.7489 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.017e-05/0.4149, allocations: 112.8 kB / 0.749 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002081/0.4151, allocations: 39.55 kB / 0.749 GB, free: 24.2 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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.0001341/0.4153, allocations: 125.8 kB / 0.7491 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.4155, allocations: 134.7 kB / 0.7492 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4155, allocations: 0 / 0.7492 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.4156, allocations: 72.3 kB / 0.7493 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.4157, allocations: 12.67 kB / 0.7493 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.4161, allocations: 141.2 kB / 0.7495 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.4164, allocations: 0.7216 MB / 0.7502 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.4164, allocations: 0 / 0.7502 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.003096/0.4195, allocations: 1.455 MB / 0.7516 GB, free: 23.11 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)