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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6905/0.6905, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.642/1.642, allocations: 221.3 MB / 396.8 MB, free: 9.191 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.0009898/0.0009901, allocations: 101.8 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/4.016e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1832, allocations: 81.59 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/0.8427, allocations: 111.9 MB / 0.7441 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.8429, allocations: 70.69 kB / 0.7441 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00511/0.8481, allocations: 1.551 MB / 0.7456 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.806e-06/0.8481, allocations: 3.938 kB / 0.7456 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.8481, allocations: 3.844 kB / 0.7456 GB, free: 27.99 MB / 0.5105 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.0005761/0.8487, allocations: 436.7 kB / 0.7461 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8487, allocations: 7.438 kB / 0.7461 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.8488, allocations: 11.59 kB / 0.7461 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.8491, allocations: 188.2 kB / 0.7463 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.8491, allocations: 3.719 kB / 0.7463 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.8491, allocations: 13.81 kB / 0.7463 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.8493, allocations: 93.55 kB / 0.7464 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8493, allocations: 3.938 kB / 0.7464 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.8494, allocations: 6.719 kB / 0.7464 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.8494, allocations: 0 / 0.7464 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.8495, allocations: 56.11 kB / 0.7464 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.8501, allocations: 338.1 kB / 0.7467 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.8502, allocations: 73.5 kB / 0.7468 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.8503, allocations: 55.19 kB / 0.7469 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.8503, allocations: 0 / 0.7469 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.8505, allocations: 106 kB / 0.747 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.8505, allocations: 4 kB / 0.747 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0003221/0.8508, allocations: 181.6 kB / 0.7471 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.8509, allocations: 83.89 kB / 0.7472 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.851, allocations: 116 kB / 0.7473 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.8511, allocations: 33.33 kB / 0.7474 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.8511, allocations: 97.67 kB / 0.7475 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.8512, allocations: 18.11 kB / 0.7475 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.8512, allocations: 3.781 kB / 0.7475 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8513, allocations: 321.8 kB / 0.7478 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.8514, allocations: 49.92 kB / 0.7478 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.8515, allocations: 51.45 kB / 0.7479 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.44e-05/0.8516, allocations: 85.75 kB / 0.748 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8516, allocations: 0 / 0.748 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002767/0.8519, allocations: 218 kB / 0.7482 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.8519, allocations: 69.97 kB / 0.7482 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.852, allocations: 3.094 kB / 0.7482 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.852, allocations: 96 / 0.7482 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.8521, allocations: 23.22 kB / 0.7483 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8521, allocations: 3.953 kB / 0.7483 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.8523, allocations: 28.86 kB / 0.7483 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.8523, allocations: 10.31 kB / 0.7483 GB, free: 26.02 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.0001199/0.8524, allocations: 141.6 kB / 0.7484 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.8525, allocations: 11.78 kB / 0.7485 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.8525, allocations: 14.94 kB / 0.7485 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8525, allocations: 0 / 0.7485 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8525, allocations: 3.938 kB / 0.7485 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8525, allocations: 3.953 kB / 0.7485 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.8527, allocations: 194.6 kB / 0.7487 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8527, allocations: 0 / 0.7487 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.8528, allocations: 15.05 kB / 0.7487 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8528, allocations: 0 / 0.7487 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.8528, allocations: 10.08 kB / 0.7487 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8528, allocations: 4.094 kB / 0.7487 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8528, allocations: 0 / 0.7487 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.8531, allocations: 213.5 kB / 0.7489 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.8532, allocations: 84.86 kB / 0.749 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.8532, allocations: 6.328 kB / 0.749 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.8533, allocations: 27.98 kB / 0.749 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.8535, allocations: 37.11 kB / 0.749 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.8535, allocations: 6.922 kB / 0.7491 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.8536, allocations: 95.52 kB / 0.7491 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8536, allocations: 0 / 0.7491 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001903/0.8538, allocations: 36.66 kB / 0.7492 GB, free: 25.37 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.0001539/0.8539, allocations: 111.9 kB / 0.7493 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.8542, allocations: 227.3 kB / 0.7495 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8543, allocations: 0 / 0.7495 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.8544, allocations: 120.3 kB / 0.7496 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.8546, allocations: 10.62 kB / 0.7496 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.855, allocations: 156.2 kB / 0.7498 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.8553, allocations: 0.6925 MB / 0.7505 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.8554, allocations: 12.42 kB / 0.7505 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.8554, allocations: 11.34 kB / 0.7505 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.8554, allocations: 0 / 0.7505 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.003695/0.8591, allocations: 1.527 MB / 0.752 GB, free: 24.15 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)