Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [: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.003858/0.003858, allocations: 182.5 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6431/0.6431, allocations: 130.6 MB / 138.5 MB, free: 2.215 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.455/1.455, allocations: 221.3 MB / 391.4 MB, free: 13.18 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.0009911/0.000991, allocations: 88.73 kB / 473.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.132e-06, allocations: 1.219 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4486/0.5893, allocations: 111.2 MB / 0.7362 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.5895, allocations: 75.45 kB / 0.7362 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004241/0.5937, allocations: 1.246 MB / 0.7374 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.5938, allocations: 3.875 kB / 0.7374 GB, free: 11.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000562/0.5943, allocations: 437.8 kB / 0.7379 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5944, allocations: 11.56 kB / 0.7379 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.5944, allocations: 9.438 kB / 0.7379 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.5946, allocations: 193 kB / 0.7381 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.5947, allocations: 3.812 kB / 0.7381 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.5947, allocations: 5.328 kB / 0.7381 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/0.5948, allocations: 52.97 kB / 0.7381 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.595, allocations: 88.56 kB / 0.7382 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.595, allocations: 3.906 kB / 0.7382 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.595, allocations: 6.281 kB / 0.7382 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.595, allocations: 4 kB / 0.7382 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.5955, allocations: 322.8 kB / 0.7385 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.5957, allocations: 64 kB / 0.7386 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.5957, allocations: 56.73 kB / 0.7387 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5957, allocations: 3.844 kB / 0.7387 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.5959, allocations: 95.78 kB / 0.7387 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5959, allocations: 4 kB / 0.7388 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.00022/0.5961, allocations: 104.7 kB / 0.7389 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5962, allocations: 78.38 kB / 0.7389 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.5963, allocations: 122.9 kB / 0.739 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.5963, allocations: 25.7 kB / 0.7391 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.5963, allocations: 96.47 kB / 0.7392 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.5964, allocations: 16.08 kB / 0.7392 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.5964, allocations: 0 / 0.7392 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5965, allocations: 321.1 kB / 0.7395 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.5966, allocations: 48.53 kB / 0.7395 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.5966, allocations: 44.67 kB / 0.7396 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.5967, allocations: 27.88 kB / 0.7396 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5967, allocations: 0 / 0.7396 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001729/0.5969, allocations: 117.7 kB / 0.7397 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5969, allocations: 3.875 kB / 0.7397 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5969, allocations: 0 / 0.7397 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5969, allocations: 3.906 kB / 0.7397 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5971, allocations: 28.69 kB / 0.7397 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5971, allocations: 0 / 0.7397 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.5972, allocations: 34.64 kB / 0.7398 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.5973, allocations: 3.812 kB / 0.7398 GB, free: 25.86 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: 6 ($whenCondition1,numReq.y,$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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001079/0.5974, allocations: 140.7 kB / 0.7399 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.5974, allocations: 13.09 kB / 0.7399 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.5974, allocations: 11.72 kB / 0.7399 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5974, allocations: 0 / 0.7399 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5974, allocations: 1.547 kB / 0.7399 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5974, allocations: 11.8 kB / 0.74 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.5976, allocations: 170.1 kB / 0.7401 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5976, allocations: 0 / 0.7401 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.5977, allocations: 16.2 kB / 0.7401 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5977, allocations: 3.969 kB / 0.7401 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.5977, allocations: 96 / 0.7401 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5977, allocations: 9.531 kB / 0.7401 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5977, allocations: 1.25 kB / 0.7401 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000172/0.5979, allocations: 141.4 kB / 0.7403 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.598, allocations: 84.83 kB / 0.7404 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.598, allocations: 1.359 kB / 0.7404 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.5982, allocations: 33.41 kB / 0.7404 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.5983, allocations: 34.55 kB / 0.7404 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5983, allocations: 7.812 kB / 0.7404 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.865e-05/0.5984, allocations: 99.19 kB / 0.7405 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002001/0.5986, allocations: 23.25 kB / 0.7405 GB, free: 25.28 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001338/0.5987, allocations: 108.5 kB / 0.7407 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.599, allocations: 166.7 kB / 0.7408 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.599, allocations: 0 / 0.7408 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5991, allocations: 89.27 kB / 0.7409 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.5993, allocations: 12.48 kB / 0.7409 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.5997, allocations: 140.7 kB / 0.741 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.6, allocations: 0.7095 MB / 0.7417 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.6, allocations: 0 / 0.7417 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.004009/0.6041, allocations: 1.596 MB / 0.7433 GB, free: 24.17 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)