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/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_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_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.01338/0.01338, allocations: 171.2 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9855/0.9855, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.791/1.791, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001516/0.001516, allocations: 90.11 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6101, allocations: 82.31 MB / 0.6495 GB, free: 35.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.7887, allocations: 112.2 MB / 0.7591 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.7891, allocations: 75.95 kB / 0.7592 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005647/0.7948, allocations: 1.561 MB / 0.7607 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.947e-06/0.7949, allocations: 0 / 0.7607 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.7949, allocations: 0 / 0.7607 GB, free: 1.957 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.0007347/0.7957, allocations: 450.5 kB / 0.7612 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.7957, allocations: 12.03 kB / 0.7612 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.7958, allocations: 30.56 kB / 0.7612 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.7959, allocations: 11.91 kB / 0.7612 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.7962, allocations: 200.7 kB / 0.7614 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.7962, allocations: 4 kB / 0.7614 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.7962, allocations: 4 kB / 0.7614 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.7966, allocations: 125.6 kB / 0.7615 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7966, allocations: 3.984 kB / 0.7615 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.7966, allocations: 4 kB / 0.7615 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7967, allocations: 0 / 0.7615 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.797, allocations: 103.9 kB / 0.7616 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.7977, allocations: 336.7 kB / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.798, allocations: 126.4 kB / 0.7621 GB, free: 412 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.7981, allocations: 3.984 kB / 0.7621 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.7984, allocations: 131.5 kB / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.7984, allocations: 0 / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0008174/0.7992, allocations: 303.3 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.7993, allocations: 85.06 kB / 0.7626 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.7994, allocations: 121 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.7995, allocations: 29.7 kB / 0.7627 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.7995, allocations: 96.05 kB / 0.7628 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.7996, allocations: 15.81 kB / 0.7628 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.7996, allocations: 4 kB / 0.7628 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7997, allocations: 318.8 kB / 0.7631 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.7999, allocations: 71.95 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.8001, allocations: 79.94 kB / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.8004, allocations: 111.4 kB / 0.7634 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8004, allocations: 0 / 0.7634 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005364/0.8009, allocations: 276.9 kB / 0.7637 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.801, allocations: 63.41 kB / 0.7637 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.801, allocations: 3.984 kB / 0.7637 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.801, allocations: 0 / 0.7637 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.8012, allocations: 23.92 kB / 0.7637 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8012, allocations: 0 / 0.7637 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.8014, allocations: 35.88 kB / 0.7638 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.8014, allocations: 7.984 kB / 0.7638 GB, free: 14.55 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.0001516/0.8016, allocations: 159.5 kB / 0.7639 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.8016, allocations: 7.906 kB / 0.7639 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.8016, allocations: 16.36 kB / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.8016, allocations: 0 / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8017, allocations: 0 / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8017, allocations: 0 / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.8019, allocations: 197.6 kB / 0.7642 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8019, allocations: 0 / 0.7642 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.802, allocations: 15.98 kB / 0.7642 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.802, allocations: 4 kB / 0.7642 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.802, allocations: 4 kB / 0.7642 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.802, allocations: 0 / 0.7642 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.802, allocations: 0 / 0.7642 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.8026, allocations: 266.5 kB / 0.7644 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.8026, allocations: 85.02 kB / 0.7645 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.8027, allocations: 0 / 0.7645 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.8028, allocations: 31.97 kB / 0.7645 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.803, allocations: 35.95 kB / 0.7646 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.803, allocations: 4 kB / 0.7646 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.727e-05/0.8031, allocations: 105.5 kB / 0.7647 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8031, allocations: 0 / 0.7647 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002262/0.8033, allocations: 28 kB / 0.7647 GB, free: 13.5 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.0008801/0.8042, allocations: 0.8014 MB / 0.7655 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005484/0.8048, allocations: 282.6 kB / 0.7658 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8048, allocations: 0 / 0.7658 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.8051, allocations: 147.3 kB / 0.7659 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.8053, allocations: 12 kB / 0.7659 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.8069, allocations: 0.7938 MB / 0.7667 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.8073, allocations: 0.6965 MB / 0.7674 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.509e-05/0.8074, allocations: 8.172 kB / 0.7674 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.8074, allocations: 19.44 kB / 0.7674 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of SimCode: time 6.62e-07/0.8074, allocations: 0 / 0.7674 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.8249, allocations: 2.469 MB / 0.7698 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.8252, allocations: 175.4 kB / 0.77 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.715, allocations: 2.75 kB / 0.77 GB, free: 8.004 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)