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.001938/0.001938, allocations: 107 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002371/0.002371, allocations: 193.4 kB / 17.34 MB, free: 5.762 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.553/1.553, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9301/0.9301, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 61.75 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2265, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003521/0.2301, allocations: 1.461 MB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000982/0.2311, allocations: 470.8 kB / 0.6671 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.2312, allocations: 4 kB / 0.6671 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.2314, allocations: 7.922 kB / 0.6672 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.2314, allocations: 7.875 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2317, allocations: 35.89 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.232, allocations: 111.7 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2321, allocations: 8.188 kB / 0.6673 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.2323, allocations: 47.84 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2324, allocations: 43.83 kB / 0.6674 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.2325, allocations: 12 kB / 0.6674 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.2325, allocations: 8 kB / 0.6674 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.2326, allocations: 15.97 kB / 0.6674 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.153e-05/0.2327, allocations: 43.78 kB / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.2328, allocations: 79.7 kB / 0.6675 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2329, allocations: 0 / 0.6675 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2329, allocations: 0 / 0.6675 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2329, allocations: 0 / 0.6675 GB, free: 3.457 MB / 0.4981 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.0008617/0.2338, allocations: 446.7 kB / 0.668 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.2338, allocations: 13.11 kB / 0.668 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.2339, allocations: 12.84 kB / 0.668 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2341, allocations: 195.2 kB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2342, allocations: 4.375 kB / 0.6682 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.2342, allocations: 8.375 kB / 0.6682 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2346, allocations: 121.7 kB / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2346, allocations: 4 kB / 0.6683 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2346, allocations: 4 kB / 0.6683 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.2346, allocations: 4 kB / 0.6683 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.235, allocations: 87.92 kB / 0.6684 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.2356, allocations: 336.6 kB / 0.6687 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.236, allocations: 110.5 kB / 0.6688 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2362, allocations: 72.92 kB / 0.6689 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2362, allocations: 0 / 0.6689 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/0.2366, allocations: 123.3 kB / 0.669 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.2366, allocations: 4 kB / 0.669 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007712/0.2374, allocations: 275.1 kB / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.2375, allocations: 89.09 kB / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2376, allocations: 132.8 kB / 0.6695 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.2376, allocations: 29.7 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.2377, allocations: 95.98 kB / 0.6696 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.2377, allocations: 15.91 kB / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.2378, allocations: 29.7 kB / 0.6697 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.238, allocations: 326.8 kB / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2382, allocations: 63.95 kB / 0.67 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.2383, allocations: 63.95 kB / 0.6701 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.2387, allocations: 189.8 kB / 0.6703 GB, free: 412 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2387, allocations: 0 / 0.6703 GB, free: 412 kB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005246/0.2393, allocations: 260.9 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.2393, allocations: 67.39 kB / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2394, allocations: 0 / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.2394, allocations: 0 / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2395, allocations: 15.92 kB / 0.6706 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2395, allocations: 8 kB / 0.6706 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.2397, allocations: 23.88 kB / 0.6706 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.2398, allocations: 8.047 kB / 0.6706 GB, free: 15.99 MB / 0.5137 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.0001471/0.2399, allocations: 151.5 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.24, allocations: 11.91 kB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.24, allocations: 12.31 kB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.24, allocations: 0 / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.24, allocations: 4 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.24, allocations: 4 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2402, allocations: 189.6 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2402, allocations: 4 kB / 0.671 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.2403, allocations: 12.23 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2403, allocations: 0 / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2404, allocations: 4 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2404, allocations: 4 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2404, allocations: 0 / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.2409, allocations: 250.5 kB / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.2409, allocations: 88.98 kB / 0.6713 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.241, allocations: 11.98 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2411, allocations: 15.98 kB / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.2413, allocations: 35.94 kB / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.2413, allocations: 8 kB / 0.6714 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.2414, allocations: 99.27 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2414, allocations: 0 / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002265/0.2416, allocations: 35.84 kB / 0.6715 GB, free: 14.96 MB / 0.5137 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.0001461/0.2418, allocations: 100.6 kB / 0.6716 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005487/0.2423, allocations: 270.6 kB / 0.6719 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2424, allocations: 4 kB / 0.6719 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.2426, allocations: 135.4 kB / 0.672 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.2429, allocations: 15.98 kB / 0.672 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.2435, allocations: 240.9 kB / 0.6723 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.2438, allocations: 0.6924 MB / 0.673 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.2439, allocations: 19.38 kB / 0.673 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.2439, allocations: 0 / 0.673 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.003885/0.2478, allocations: 1.447 MB / 0.6744 GB, free: 11.95 MB / 0.5137 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)