Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") translateModel(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001049/0.001049, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001121/0.001121, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4326/0.4326, allocations: 54.98 MB / 325.4 MB, free: 0.7656 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005541, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3476, allocations: 60.72 MB / 457.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.001726/0.3494, allocations: 1.173 MB / 458.5 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3505, allocations: 472.9 kB / 458.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.3506, allocations: 0 / 458.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.3507, allocations: 9.422 kB / 458.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.164e-05/0.3508, allocations: 9.078 kB / 459 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.3511, allocations: 28.92 kB / 459 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3513, allocations: 51.23 kB / 459 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3514, allocations: 16.48 kB / 459 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3515, allocations: 49.61 kB / 459.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3517, allocations: 31.78 kB / 459.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.3517, allocations: 5.812 kB / 459.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.3517, allocations: 2.781 kB / 459.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.3518, allocations: 14.08 kB / 459.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.3519, allocations: 41.42 kB / 459.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.352, allocations: 54.58 kB / 459.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.352, allocations: 0 / 459.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.352, allocations: 1.562 kB / 459.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.352, allocations: 0.9375 kB / 459.2 MB, free: 38.19 MB / 382.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.0008422/0.3529, allocations: 438.7 kB / 459.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.353, allocations: 11.33 kB / 459.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.353, allocations: 11 kB / 459.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3532, allocations: 181.4 kB / 459.9 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.3533, allocations: 13 kB / 459.9 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.3533, allocations: 6.469 kB / 459.9 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.3537, allocations: 115.6 kB / 460 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3537, allocations: 2.531 kB / 460 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3537, allocations: 1.312 kB / 460 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3538, allocations: 5.812 kB / 460 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.3541, allocations: 109.4 kB / 460.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.3546, allocations: 341.5 kB / 460.5 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3549, allocations: 117.8 kB / 460.6 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3549, allocations: 6.766 kB / 460.6 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.3553, allocations: 137.4 kB / 460.7 MB, free: 37.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.3553, allocations: 1.344 kB / 460.7 MB, free: 37.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007477/0.356, allocations: 291.1 kB / 461 MB, free: 37.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3561, allocations: 88.67 kB / 461.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3562, allocations: 130.2 kB / 461.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3562, allocations: 32.36 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.3562, allocations: 91.44 kB / 461.3 MB, free: 36.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3563, allocations: 21.34 kB / 461.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.3563, allocations: 0 / 461.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.3563, allocations: 318.6 kB / 461.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3565, allocations: 77.12 kB / 461.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3567, allocations: 80.25 kB / 461.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3569, allocations: 112.4 kB / 461.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3569, allocations: 0 / 461.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004466/0.3574, allocations: 280.9 kB / 462.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.3574, allocations: 67.19 kB / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3574, allocations: 0 / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3574, allocations: 0 / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3576, allocations: 20.5 kB / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3576, allocations: 0 / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3577, allocations: 38.55 kB / 462.3 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3578, allocations: 6.969 kB / 462.3 MB, free: 36.25 MB / 382.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 9.513e-05/0.3579, allocations: 157.7 kB / 462.5 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.3579, allocations: 11.45 kB / 462.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.3579, allocations: 11.75 kB / 462.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3579, allocations: 0 / 462.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3579, allocations: 2.5 kB / 462.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3579, allocations: 0 / 462.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.3581, allocations: 193.8 kB / 462.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3581, allocations: 0 / 462.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.3582, allocations: 17.53 kB / 462.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3582, allocations: 4 kB / 462.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3582, allocations: 6.734 kB / 462.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3582, allocations: 0 / 462.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3582, allocations: 5.5 kB / 462.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.3586, allocations: 262.6 kB / 463 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.3587, allocations: 83.98 kB / 463.1 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3587, allocations: 3 kB / 463.1 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3588, allocations: 31.48 kB / 463.1 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.359, allocations: 38.86 kB / 463.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.359, allocations: 6.844 kB / 463.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.359, allocations: 100.4 kB / 463.2 MB, free: 35.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.359, allocations: 0 / 463.2 MB, free: 35.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000205/0.3593, allocations: 25.56 kB / 463.3 MB, free: 35.61 MB / 382.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 8.663e-05/0.3593, allocations: 94.56 kB / 463.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004596/0.3598, allocations: 289.6 kB / 463.6 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3598, allocations: 0.5625 kB / 463.6 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.3601, allocations: 145.2 kB / 463.8 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.3602, allocations: 11.11 kB / 463.8 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.3607, allocations: 249.6 kB / 464 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3609, allocations: 0.6972 MB / 464.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.361, allocations: 10.16 kB / 464.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.361, allocations: 10.16 kB / 464.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.361, allocations: 0 / 464.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of Templates: time 0.003762/0.3648, allocations: 1.533 MB / 466.3 MB, free: 34.38 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: