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.01601/0.01601, allocations: 170.8 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8888/0.8888, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.808/1.808, allocations: 223.2 MB / 403.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 96.19 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 8 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6084/0.6088, allocations: 81.57 MB / 0.6437 GB, free: 39.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.7829, allocations: 112 MB / 0.7531 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/0.7834, allocations: 71.95 kB / 0.7532 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005738/0.7891, allocations: 1.556 MB / 0.7547 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.416e-06/0.7892, allocations: 0 / 0.7547 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.7892, allocations: 4 kB / 0.7547 GB, free: 6.309 MB / 0.5261 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.0007823/0.79, allocations: 442.5 kB / 0.7551 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.7901, allocations: 8.031 kB / 0.7552 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.7901, allocations: 7.906 kB / 0.7552 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.7904, allocations: 203.5 kB / 0.7554 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.7905, allocations: 4 kB / 0.7554 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.7905, allocations: 8 kB / 0.7554 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.7909, allocations: 121.8 kB / 0.7555 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7909, allocations: 0 / 0.7555 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.791, allocations: 3.984 kB / 0.7555 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.791, allocations: 8 kB / 0.7555 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.7913, allocations: 99.92 kB / 0.7556 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.7921, allocations: 340.7 kB / 0.7559 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.7924, allocations: 126.4 kB / 0.756 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.7925, allocations: 0 / 0.756 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.7928, allocations: 131.5 kB / 0.7562 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 2.514e-06/0.7928, allocations: 4 kB / 0.7562 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0008188/0.7937, allocations: 303.1 kB / 0.7565 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.7937, allocations: 85.05 kB / 0.7565 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.7939, allocations: 119.1 kB / 0.7566 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.7939, allocations: 37.69 kB / 0.7567 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.794, allocations: 88.05 kB / 0.7568 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.794, allocations: 15.81 kB / 0.7568 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.794, allocations: 4 kB / 0.7568 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7942, allocations: 322.8 kB / 0.7571 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.7944, allocations: 75.95 kB / 0.7572 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.7946, allocations: 75.88 kB / 0.7572 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.7948, allocations: 111.4 kB / 0.7573 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7949, allocations: 4 kB / 0.7573 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005585/0.7954, allocations: 272.8 kB / 0.7576 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.7955, allocations: 63.41 kB / 0.7577 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7955, allocations: 0 / 0.7577 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7955, allocations: 0 / 0.7577 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.7957, allocations: 23.97 kB / 0.7577 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.7957, allocations: 7.891 kB / 0.7577 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.7959, allocations: 31.92 kB / 0.7577 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.7959, allocations: 8 kB / 0.7577 GB, free: 2.945 MB / 0.5261 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 () * Number of clocked 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.0001453/0.7961, allocations: 147.5 kB / 0.7579 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.7961, allocations: 11.91 kB / 0.7579 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.7961, allocations: 8.375 kB / 0.7579 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7961, allocations: 0 / 0.7579 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.7962, allocations: 11.92 kB / 0.7579 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7962, allocations: 7.953 kB / 0.7579 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.7964, allocations: 189.7 kB / 0.7581 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7964, allocations: 7.984 kB / 0.7581 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.7965, allocations: 11.98 kB / 0.7581 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.7965, allocations: 4 kB / 0.7581 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.7965, allocations: 0 / 0.7581 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7965, allocations: 0 / 0.7581 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7965, allocations: 0 / 0.7581 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.7971, allocations: 266.6 kB / 0.7584 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.7972, allocations: 81.02 kB / 0.7585 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.7972, allocations: 8.312 kB / 0.7585 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.7974, allocations: 31.97 kB / 0.7585 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.7975, allocations: 31.95 kB / 0.7585 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.7975, allocations: 8 kB / 0.7585 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.557e-05/0.7976, allocations: 99.36 kB / 0.7586 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7976, allocations: 7.875 kB / 0.7586 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002255/0.7979, allocations: 35.98 kB / 0.7587 GB, free: 1.887 MB / 0.5261 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) * Number of clocked states: 0 () * 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.0001613/0.798, allocations: 99.41 kB / 0.7588 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005694/0.7986, allocations: 282.6 kB / 0.759 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7986, allocations: 4 kB / 0.759 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.7989, allocations: 143.3 kB / 0.7592 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.7991, allocations: 17.34 kB / 0.7592 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.7998, allocations: 237.7 kB / 0.7594 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.8001, allocations: 0.6926 MB / 0.7601 GB, free: 336 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.726e-05/0.8002, allocations: 16.16 kB / 0.7601 GB, free: 316 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.8003, allocations: 11.44 kB / 0.7601 GB, free: 304 kB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.8003, allocations: 0 / 0.7601 GB, free: 304 kB / 0.5261 GB Notification: Performance of Templates: time 0.004841/0.8051, allocations: 1.524 MB / 0.7616 GB, free: 14.79 MB / 0.5417 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)