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.0009655/0.0009656, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.00125/0.00125, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7296/0.7296, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 8 kB / 0.5034 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3532, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001328/0.3546, allocations: 1.179 MB / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005744/0.3552, allocations: 437.7 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.3553, allocations: 0 / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.76e-05/0.3553, allocations: 10.78 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.3554, allocations: 11.09 kB / 0.5847 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.3556, allocations: 24.92 kB / 0.5847 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3557, allocations: 82.27 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.3558, allocations: 12.28 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3559, allocations: 40.89 kB / 0.5848 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.356, allocations: 38.73 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.356, allocations: 4.5 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.356, allocations: 3.719 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.3561, allocations: 13.95 kB / 0.5849 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.3561, allocations: 38.55 kB / 0.5849 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.391e-05/0.3562, allocations: 46 kB / 0.585 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3562, allocations: 5.688 kB / 0.585 GB, free: 2.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3562, allocations: 0 / 0.585 GB, free: 2.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.3562, allocations: 3.938 kB / 0.585 GB, free: 2.656 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.0005245/0.3568, allocations: 447.1 kB / 0.5854 GB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.3568, allocations: 8.531 kB / 0.5854 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.3568, allocations: 9.578 kB / 0.5854 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.357, allocations: 193.7 kB / 0.5856 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.357, allocations: 3.812 kB / 0.5856 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.357, allocations: 10.2 kB / 0.5856 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.3573, allocations: 128.7 kB / 0.5857 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3573, allocations: 0 / 0.5857 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3574, allocations: 2.312 kB / 0.5857 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3574, allocations: 1.594 kB / 0.5857 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.3577, allocations: 103.7 kB / 0.5858 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3581, allocations: 347.5 kB / 0.5862 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.3585, allocations: 114.8 kB / 0.5863 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3586, allocations: 86.16 kB / 0.5864 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3587, allocations: 0.8438 kB / 0.5864 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.359, allocations: 135.2 kB / 0.5865 GB, free: 1.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.359, allocations: 0 / 0.5865 GB, free: 1.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006864/0.3597, allocations: 304.4 kB / 0.5868 GB, free: 1.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3597, allocations: 91.08 kB / 0.5869 GB, free: 1.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.3598, allocations: 123.4 kB / 0.587 GB, free: 1.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3598, allocations: 33.86 kB / 0.587 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.3599, allocations: 96.05 kB / 0.5871 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3599, allocations: 13.44 kB / 0.5871 GB, free: 1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.3599, allocations: 6.562 kB / 0.5871 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.36, allocations: 323.3 kB / 0.5874 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.3602, allocations: 70.23 kB / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3603, allocations: 73.86 kB / 0.5876 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3605, allocations: 115.2 kB / 0.5877 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3605, allocations: 0 / 0.5877 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004754/0.361, allocations: 275.3 kB / 0.5879 GB, free: 436 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.3611, allocations: 63.47 kB / 0.588 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3611, allocations: 3.938 kB / 0.588 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3611, allocations: 0 / 0.588 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3612, allocations: 26.05 kB / 0.588 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3612, allocations: 5.828 kB / 0.588 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.3614, allocations: 37.75 kB / 0.5881 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3614, allocations: 4.453 kB / 0.5881 GB, free: 344 kB / 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 ($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 8e-05/0.3615, allocations: 152 kB / 0.5882 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3615, allocations: 10.44 kB / 0.5882 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.3615, allocations: 10.92 kB / 0.5882 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3616, allocations: 1 kB / 0.5882 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3616, allocations: 8.609 kB / 0.5882 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3616, allocations: 1 kB / 0.5882 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.3617, allocations: 187.7 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3617, allocations: 0.7031 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.3618, allocations: 16.98 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3618, allocations: 0 / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3618, allocations: 3.328 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3618, allocations: 0.6094 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3619, allocations: 1.281 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.3624, allocations: 269.7 kB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.3624, allocations: 88.2 kB / 0.5888 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3624, allocations: 4.062 kB / 0.5888 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3626, allocations: 26.3 kB / 0.5888 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3627, allocations: 42.55 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3627, allocations: 4.484 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.748e-05/0.3628, allocations: 98.33 kB / 0.589 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3628, allocations: 4 kB / 0.589 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.363, allocations: 30.28 kB / 0.589 GB, free: 15.6 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 (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 9.244e-05/0.3631, allocations: 97 kB / 0.5891 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.3637, allocations: 285 kB / 0.5894 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3637, allocations: 1.125 kB / 0.5894 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.3639, allocations: 142.5 kB / 0.5895 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.3642, allocations: 14.28 kB / 0.5895 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.3646, allocations: 241.3 kB / 0.5897 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3649, allocations: 0.6932 MB / 0.5904 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.727e-05/0.3649, allocations: 16.28 kB / 0.5904 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.365, allocations: 10.98 kB / 0.5904 GB, free: 14.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.365, allocations: 3.938 kB / 0.5904 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Templates: time 0.003934/0.3689, allocations: 1.529 MB / 0.5919 GB, free: 14.23 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)