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.001831/0.001831, allocations: 109.8 kB / 16.41 MB, free: 6.008 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.002081/0.002081, allocations: 181.7 kB / 17.34 MB, free: 5.629 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.544/1.544, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8418/0.8418, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 62.69 kB / 0.5862 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2004, allocations: 80.94 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003136/0.2036, allocations: 1.465 MB / 0.6667 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.2046, allocations: 466.8 kB / 0.6671 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.2047, allocations: 4 kB / 0.6672 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2049, allocations: 3.938 kB / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.205, allocations: 15.84 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.2053, allocations: 35.89 kB / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.2055, allocations: 99.77 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2057, allocations: 20.16 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.2059, allocations: 47.84 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.206, allocations: 39.83 kB / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.206, allocations: 8 kB / 0.6674 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-05/0.2061, allocations: 12 kB / 0.6674 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.2062, allocations: 19.92 kB / 0.6674 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.615e-05/0.2063, allocations: 43.78 kB / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.2064, allocations: 75.7 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.2065, allocations: 4 kB / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2065, allocations: 0 / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.2065, allocations: 0 / 0.6676 GB, free: 3.473 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.00101/0.2075, allocations: 442.7 kB / 0.668 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.2076, allocations: 13.11 kB / 0.668 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.2076, allocations: 12.84 kB / 0.668 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.2079, allocations: 196.1 kB / 0.6682 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2079, allocations: 4.375 kB / 0.6682 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2079, allocations: 8.375 kB / 0.6682 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.2083, allocations: 117.7 kB / 0.6683 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2083, allocations: 0 / 0.6683 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2083, allocations: 4 kB / 0.6683 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2083, allocations: 0 / 0.6683 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2086, allocations: 91.92 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.2092, allocations: 332.6 kB / 0.6687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.2096, allocations: 106.5 kB / 0.6688 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.2097, allocations: 72.94 kB / 0.6689 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2098, allocations: 0 / 0.6689 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.2101, allocations: 123.3 kB / 0.669 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 2.925e-06/0.2101, allocations: 3.938 kB / 0.669 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006968/0.2108, allocations: 279.1 kB / 0.6693 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.2109, allocations: 85.11 kB / 0.6694 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.211, allocations: 133.1 kB / 0.6695 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.211, allocations: 29.7 kB / 0.6695 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.2111, allocations: 104 kB / 0.6696 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.2112, allocations: 11.91 kB / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.2112, allocations: 33.7 kB / 0.6697 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2114, allocations: 322.8 kB / 0.67 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.2115, allocations: 67.94 kB / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.2117, allocations: 63.95 kB / 0.6701 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.2121, allocations: 193.9 kB / 0.6703 GB, free: 432 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2121, allocations: 0 / 0.6703 GB, free: 432 kB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004743/0.2126, allocations: 256.9 kB / 0.6705 GB, free: 156 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.2126, allocations: 63.41 kB / 0.6706 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2126, allocations: 3.938 kB / 0.6706 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2127, allocations: 0 / 0.6706 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2128, allocations: 15.97 kB / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.2128, allocations: 4 kB / 0.6706 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.213, allocations: 23.89 kB / 0.6706 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.213, allocations: 8 kB / 0.6706 GB, free: 24 kB / 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.0001394/0.2131, allocations: 155.5 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.2132, allocations: 7.906 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.2132, allocations: 8.375 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2132, allocations: 4 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2132, allocations: 3.984 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2132, allocations: 4 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2134, allocations: 193.6 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2134, allocations: 3.984 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.2135, allocations: 11.98 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2135, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2135, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2135, allocations: 4 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2135, allocations: 256 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.214, allocations: 254.5 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.2141, allocations: 89.03 kB / 0.6713 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2142, allocations: 7.938 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2143, allocations: 23.97 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.2145, allocations: 31.95 kB / 0.6714 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2145, allocations: 8 kB / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.2146, allocations: 99.27 kB / 0.6715 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2146, allocations: 0 / 0.6715 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002176/0.2148, allocations: 35.84 kB / 0.6715 GB, free: 14.99 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.0001305/0.2149, allocations: 96.58 kB / 0.6716 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005291/0.2155, allocations: 278.6 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2155, allocations: 0 / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.2157, allocations: 139.3 kB / 0.672 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.216, allocations: 12 kB / 0.672 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.2165, allocations: 248.8 kB / 0.6723 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2168, allocations: 0.6885 MB / 0.673 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.2169, allocations: 15.44 kB / 0.673 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.2169, allocations: 4 kB / 0.673 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.003295/0.2202, allocations: 1.433 MB / 0.6744 GB, free: 11.98 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)