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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009149/0.00915, allocations: 171.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8106/0.8106, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 223.2 MB / 406.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 99.95 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.6364, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.8131, allocations: 112.2 MB / 0.7591 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.8134, allocations: 71.95 kB / 0.7592 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005046/0.8185, allocations: 1.56 MB / 0.7607 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8185, allocations: 0 / 0.7607 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.8185, allocations: 0 / 0.7607 GB, free: 2.133 MB / 0.5261 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.000669/0.8192, allocations: 442.5 kB / 0.7611 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8192, allocations: 16.03 kB / 0.7611 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.8193, allocations: 7.906 kB / 0.7611 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.8196, allocations: 190.9 kB / 0.7613 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.8196, allocations: 4 kB / 0.7613 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.8196, allocations: 11.94 kB / 0.7613 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.82, allocations: 125.7 kB / 0.7614 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.82, allocations: 4 kB / 0.7614 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.82, allocations: 0 / 0.7614 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.82, allocations: 0 / 0.7614 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.8203, allocations: 99.92 kB / 0.7615 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.821, allocations: 348.7 kB / 0.7619 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.8213, allocations: 126.4 kB / 0.762 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.8214, allocations: 0 / 0.762 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.8217, allocations: 131.5 kB / 0.7621 GB, free: 492 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.552e-06/0.8217, allocations: 0 / 0.7621 GB, free: 492 kB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0007768/0.8225, allocations: 303.1 kB / 0.7624 GB, free: 176 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.8226, allocations: 85 kB / 0.7625 GB, free: 72 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.8227, allocations: 123.5 kB / 0.7626 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.8227, allocations: 25.7 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.8228, allocations: 96.03 kB / 0.7627 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.8229, allocations: 15.81 kB / 0.7627 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.8229, allocations: 12 kB / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.823, allocations: 314.8 kB / 0.763 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.8232, allocations: 71.95 kB / 0.7631 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.8234, allocations: 79.95 kB / 0.7632 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.8236, allocations: 107.4 kB / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8237, allocations: 0 / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005212/0.8242, allocations: 276.8 kB / 0.7636 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.8243, allocations: 63.41 kB / 0.7636 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.8243, allocations: 0 / 0.7636 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.8243, allocations: 0 / 0.7636 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.8244, allocations: 19.97 kB / 0.7636 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8244, allocations: 4 kB / 0.7636 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.8246, allocations: 43.81 kB / 0.7637 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.8247, allocations: 4 kB / 0.7637 GB, free: 14.77 MB / 0.5417 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 ($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 0.0001288/0.8248, allocations: 151.5 kB / 0.7638 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.8248, allocations: 7.906 kB / 0.7638 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.8249, allocations: 12.38 kB / 0.7639 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.8249, allocations: 4 kB / 0.7639 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8249, allocations: 3.938 kB / 0.7639 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8249, allocations: 3.984 kB / 0.7639 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.8251, allocations: 189.7 kB / 0.764 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8251, allocations: 0 / 0.764 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.8252, allocations: 20.06 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8252, allocations: 4.188 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.8252, allocations: 4 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8252, allocations: 4 kB / 0.7641 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.8253, allocations: 4 kB / 0.7641 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.8258, allocations: 262.6 kB / 0.7643 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.8259, allocations: 85.02 kB / 0.7644 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.8259, allocations: 8 kB / 0.7644 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.826, allocations: 23.97 kB / 0.7644 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.8262, allocations: 39.94 kB / 0.7645 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.8262, allocations: 4 kB / 0.7645 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.649e-05/0.8263, allocations: 103.3 kB / 0.7646 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.5e-07/0.8263, allocations: 3.938 kB / 0.7646 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002279/0.8265, allocations: 31.98 kB / 0.7646 GB, free: 13.71 MB / 0.5417 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 (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 0.000186/0.8267, allocations: 99.25 kB / 0.7647 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005662/0.8273, allocations: 274.7 kB / 0.765 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8273, allocations: 0 / 0.765 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.8276, allocations: 155.2 kB / 0.7651 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.8278, allocations: 11.94 kB / 0.7651 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.8285, allocations: 237.2 kB / 0.7654 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.8289, allocations: 0.6965 MB / 0.766 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.001e-05/0.8289, allocations: 12.17 kB / 0.766 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.829, allocations: 11.44 kB / 0.7661 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.829, allocations: 0 / 0.7661 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.004387/0.8334, allocations: 1.533 MB / 0.7676 GB, free: 10.61 MB / 0.5417 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)