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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001484, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7474/0.7474, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.135/2.135, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.0009031, allocations: 96.12 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.956e-05, allocations: 5.609 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7897/0.9909, allocations: 112.2 MB / 0.7501 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.9912, allocations: 73.36 kB / 0.7501 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006069/0.9972, allocations: 1.543 MB / 0.7516 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9973, allocations: 0 / 0.7516 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.9973, allocations: 4 kB / 0.7516 GB, free: 27.4 MB / 0.5105 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.0006544/0.998, allocations: 435.9 kB / 0.752 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.998, allocations: 11.19 kB / 0.7521 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.9981, allocations: 30.75 kB / 0.7521 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.9982, allocations: 18.38 kB / 0.7521 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.9984, allocations: 191.1 kB / 0.7523 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.9984, allocations: 7.844 kB / 0.7523 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.9985, allocations: 15.42 kB / 0.7523 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.9987, allocations: 98.34 kB / 0.7524 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.9988, allocations: 0 / 0.7524 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.9988, allocations: 2.25 kB / 0.7524 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.9988, allocations: 0 / 0.7524 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.999, allocations: 56.12 kB / 0.7525 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.9996, allocations: 338.6 kB / 0.7528 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.9998, allocations: 80.59 kB / 0.7529 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.9999, allocations: 53.25 kB / 0.7529 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/1, allocations: 0 / 0.7529 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/1, allocations: 110.3 kB / 0.753 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/1, allocations: 0 / 0.753 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004212/1.001, allocations: 181.3 kB / 0.7532 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/1.001, allocations: 83.53 kB / 0.7533 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.001, allocations: 120.6 kB / 0.7534 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.001, allocations: 25.7 kB / 0.7534 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/1.001, allocations: 101.7 kB / 0.7535 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/1.001, allocations: 15.22 kB / 0.7535 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/1.001, allocations: 7.844 kB / 0.7535 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.001, allocations: 317.2 kB / 0.7538 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/1.001, allocations: 46.97 kB / 0.7539 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/1.001, allocations: 47.16 kB / 0.7539 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/1.002, allocations: 86.36 kB / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.002, allocations: 0 / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003879/1.002, allocations: 228.9 kB / 0.7542 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/1.002, allocations: 59.09 kB / 0.7543 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.002, allocations: 2.859 kB / 0.7543 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.002, allocations: 0 / 0.7543 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.002, allocations: 26.06 kB / 0.7543 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.002, allocations: 3.953 kB / 0.7543 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/1.002, allocations: 29.02 kB / 0.7543 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/1.003, allocations: 6.719 kB / 0.7543 GB, free: 25.38 MB / 0.5105 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 () * 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.0001263/1.003, allocations: 144.2 kB / 0.7545 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/1.003, allocations: 18.22 kB / 0.7545 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/1.003, allocations: 10.34 kB / 0.7545 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.003, allocations: 3.938 kB / 0.7545 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.003, allocations: 0 / 0.7545 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.003, allocations: 3.953 kB / 0.7545 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.003, allocations: 191.2 kB / 0.7547 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.003, allocations: 0 / 0.7547 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.003, allocations: 14.95 kB / 0.7547 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.003, allocations: 7.906 kB / 0.7547 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/1.003, allocations: 0 / 0.7547 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.003, allocations: 0 / 0.7547 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.003, allocations: 7.031 kB / 0.7547 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/1.004, allocations: 209.4 kB / 0.7549 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/1.004, allocations: 84.86 kB / 0.755 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/1.004, allocations: 6.844 kB / 0.755 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/1.004, allocations: 29.64 kB / 0.755 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.004, allocations: 36.25 kB / 0.7551 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/1.004, allocations: 4.719 kB / 0.7551 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.041e-05/1.004, allocations: 100.4 kB / 0.7552 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/1.004, allocations: 0 / 0.7552 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003042/1.004, allocations: 26.69 kB / 0.7552 GB, free: 24.74 MB / 0.5105 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) * 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.0007453/1.005, allocations: 0.7539 MB / 0.7559 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003905/1.006, allocations: 221.9 kB / 0.7561 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.006, allocations: 0 / 0.7561 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/1.006, allocations: 124.7 kB / 0.7563 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.006, allocations: 11.06 kB / 0.7563 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/1.007, allocations: 193.2 kB / 0.7565 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/1.007, allocations: 0.697 MB / 0.7571 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.35e-05/1.007, allocations: 11.17 kB / 0.7572 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/1.007, allocations: 20.92 kB / 0.7572 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/1.007, allocations: 0 / 0.7572 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/1.028, allocations: 2.489 MB / 0.7596 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.028, allocations: 146.8 kB / 0.7597 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.67, allocations: 3.781 kB / 0.7597 GB, free: 22.59 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)