Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.142/1.142, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 59.66 kB / 0.5053 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 80.93 MB / 0.5844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.004559/0.2426, allocations: 1.456 MB / 0.5858 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2437, allocations: 460.5 kB / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.2438, allocations: 7.938 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.244, allocations: 3.938 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.2441, allocations: 19.84 kB / 0.5863 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.2444, allocations: 39.89 kB / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2447, allocations: 91.83 kB / 0.5864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2448, allocations: 12.19 kB / 0.5864 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.245, allocations: 55.77 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2452, allocations: 35.89 kB / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.2452, allocations: 8 kB / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.306e-05/0.2452, allocations: 8 kB / 0.5865 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.2453, allocations: 19.92 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.2455, allocations: 39.84 kB / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.2457, allocations: 75.77 kB / 0.5866 GB, free: 2.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.2457, allocations: 4 kB / 0.5866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2457, allocations: 0 / 0.5866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2457, allocations: 0 / 0.5866 GB, free: 2.254 MB / 494.1 MB 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.001042/0.2468, allocations: 462.7 kB / 0.5871 GB, free: 1.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2468, allocations: 8.031 kB / 0.5871 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.2469, allocations: 8.844 kB / 0.5871 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2472, allocations: 195.3 kB / 0.5873 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2472, allocations: 8.359 kB / 0.5873 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.2472, allocations: 20.36 kB / 0.5873 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.2476, allocations: 109.8 kB / 0.5874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2476, allocations: 0 / 0.5874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.2477, allocations: 4 kB / 0.5874 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2477, allocations: 0 / 0.5874 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.248, allocations: 87.92 kB / 0.5875 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/0.2488, allocations: 332.7 kB / 0.5878 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.2491, allocations: 106.5 kB / 0.5879 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.2494, allocations: 72.94 kB / 0.588 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2494, allocations: 4 kB / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.2498, allocations: 127.3 kB / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.2498, allocations: 0 / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007417/0.2506, allocations: 279.2 kB / 0.5884 GB, free: 288 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.2506, allocations: 85.11 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2508, allocations: 128.8 kB / 0.5886 GB, free: 48 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.162e-05/0.2509, allocations: 29.7 kB / 0.5886 GB, free: 12 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.251, allocations: 96.05 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.251, allocations: 19.81 kB / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.2511, allocations: 33.7 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002352/0.2513, allocations: 326.8 kB / 0.5891 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.2515, allocations: 67.89 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.2517, allocations: 67.95 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.252, allocations: 181.8 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.252, allocations: 0 / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005141/0.2526, allocations: 264.8 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.027e-05/0.2526, allocations: 67.39 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2527, allocations: 0 / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.2527, allocations: 4 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.2528, allocations: 15.92 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2528, allocations: 0 / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.253, allocations: 23.97 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.253, allocations: 4 kB / 0.5897 GB, free: 14.79 MB / 0.4981 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.2532, allocations: 155.5 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.2532, allocations: 11.89 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.2532, allocations: 12.38 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2532, allocations: 0 / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2532, allocations: 0 / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2532, allocations: 0 / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2534, allocations: 193.5 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2534, allocations: 0 / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.2535, allocations: 19.98 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2535, allocations: 0 / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2536, allocations: 4 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2536, allocations: 0 / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2536, allocations: 4.031 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.2541, allocations: 250.8 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.2542, allocations: 97 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.2542, allocations: 4 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2543, allocations: 19.98 kB / 0.5905 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.2545, allocations: 35.95 kB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2545, allocations: 4 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.168e-05/0.2546, allocations: 99.27 kB / 0.5906 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2546, allocations: 0 / 0.5906 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002125/0.2548, allocations: 27.94 kB / 0.5906 GB, free: 13.76 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.255, allocations: 107.2 kB / 0.5907 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.2556, allocations: 266.6 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2556, allocations: 0 / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.2559, allocations: 135.4 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2562, allocations: 18.8 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.2568, allocations: 227.2 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2572, allocations: 0.6923 MB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.652e-05/0.2573, allocations: 15.97 kB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.2573, allocations: 11.44 kB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.134e-06/0.2573, allocations: 0 / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.005126/0.2625, allocations: 1.853 MB / 0.5938 GB, free: 10.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)