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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, 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.001655/0.001656, allocations: 195.5 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7821/0.7821, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 68.36 kB / 0.5018 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5109, allocations: 80.2 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002844/0.5137, allocations: 1.468 MB / 0.5815 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000755/0.5145, allocations: 463.3 kB / 0.582 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.5146, allocations: 12.75 kB / 0.582 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.611e-05/0.5147, allocations: 5.938 kB / 0.582 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.5147, allocations: 15.11 kB / 0.582 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.5149, allocations: 37.77 kB / 0.582 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.5151, allocations: 99.09 kB / 0.5821 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.5152, allocations: 21.5 kB / 0.5821 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.5154, allocations: 42.66 kB / 0.5822 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.5155, allocations: 46.92 kB / 0.5822 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.5155, allocations: 8.375 kB / 0.5822 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.5155, allocations: 7.594 kB / 0.5822 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.5156, allocations: 15.77 kB / 0.5823 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.5156, allocations: 37.27 kB / 0.5823 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.5158, allocations: 81.7 kB / 0.5824 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5158, allocations: 4 kB / 0.5824 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5158, allocations: 0.7188 kB / 0.5824 GB, free: 2.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.5158, allocations: 0 / 0.5824 GB, free: 2.977 MB / 430.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.0006486/0.5165, allocations: 448.5 kB / 0.5828 GB, free: 2.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5165, allocations: 14.03 kB / 0.5828 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.5166, allocations: 10.31 kB / 0.5828 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.5168, allocations: 186.5 kB / 0.583 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5168, allocations: 8.031 kB / 0.583 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.5168, allocations: 14.67 kB / 0.583 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.5171, allocations: 121.6 kB / 0.5831 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.5172, allocations: 1.375 kB / 0.5831 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5172, allocations: 5.938 kB / 0.5831 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5172, allocations: 1.344 kB / 0.5831 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.5175, allocations: 86.12 kB / 0.5832 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.518, allocations: 339 kB / 0.5836 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.5184, allocations: 104.3 kB / 0.5836 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.5186, allocations: 74.53 kB / 0.5837 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.5186, allocations: 1.891 kB / 0.5837 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003649/0.519, allocations: 128.5 kB / 0.5838 GB, free: 1.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.519, allocations: 0 / 0.5838 GB, free: 1.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007494/0.5197, allocations: 275.5 kB / 0.5841 GB, free: 1.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.5198, allocations: 83.05 kB / 0.5842 GB, free: 1.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.5199, allocations: 135.5 kB / 0.5843 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5199, allocations: 29.33 kB / 0.5843 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.52, allocations: 92.86 kB / 0.5844 GB, free: 1.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.52, allocations: 17.12 kB / 0.5844 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.5201, allocations: 32.56 kB / 0.5845 GB, free: 1.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.5201, allocations: 318.9 kB / 0.5848 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.5203, allocations: 70.16 kB / 0.5849 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.5205, allocations: 68.89 kB / 0.5849 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.5209, allocations: 177.6 kB / 0.5851 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5209, allocations: 3.938 kB / 0.5851 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005175/0.5214, allocations: 258.1 kB / 0.5853 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.5215, allocations: 66.45 kB / 0.5854 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5215, allocations: 3.984 kB / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5215, allocations: 1.375 kB / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5216, allocations: 14.22 kB / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5216, allocations: 0.6562 kB / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5218, allocations: 32.73 kB / 0.5855 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.5218, allocations: 11.7 kB / 0.5855 GB, free: 0.5977 MB / 430.1 MB 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.0001054/0.522, allocations: 159.4 kB / 0.5856 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.522, allocations: 9.922 kB / 0.5856 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.522, allocations: 11.56 kB / 0.5856 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.522, allocations: 0.6562 kB / 0.5856 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.522, allocations: 1.031 kB / 0.5856 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5221, allocations: 0.6094 kB / 0.5856 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.5222, allocations: 195.8 kB / 0.5858 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5222, allocations: 5.25 kB / 0.5858 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.5223, allocations: 18.11 kB / 0.5858 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5223, allocations: 256 / 0.5858 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.5223, allocations: 2.594 kB / 0.5858 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.5223, allocations: 5.094 kB / 0.5859 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5223, allocations: 0 / 0.5859 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.5229, allocations: 253.8 kB / 0.5861 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.523, allocations: 83.7 kB / 0.5862 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.523, allocations: 7.75 kB / 0.5862 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5231, allocations: 19.02 kB / 0.5862 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.5233, allocations: 37.09 kB / 0.5862 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5233, allocations: 2.969 kB / 0.5862 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.5234, allocations: 103.2 kB / 0.5863 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5234, allocations: 0 / 0.5863 GB, free: 15.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000223/0.5236, allocations: 26.05 kB / 0.5864 GB, free: 15.86 MB / 446.1 MB 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.000127/0.5238, allocations: 105.5 kB / 0.5865 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005973/0.5244, allocations: 265.7 kB / 0.5867 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5244, allocations: 0.625 kB / 0.5867 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.5247, allocations: 140.5 kB / 0.5869 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.5249, allocations: 17.8 kB / 0.5869 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.5255, allocations: 216.4 kB / 0.5871 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5259, allocations: 0.6965 MB / 0.5878 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.5259, allocations: 8.219 kB / 0.5878 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.526, allocations: 15.89 kB / 0.5878 GB, free: 14.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.526, allocations: 0 / 0.5878 GB, free: 14.64 MB / 446.1 MB Notification: Performance of Templates: time 0.005345/0.5313, allocations: 1.852 MB / 0.5896 GB, free: 14.49 MB / 446.1 MB 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)