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.001141/0.001141, allocations: 174.6 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.8959/0.8959, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.564/1.564, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.0009581/0.0009582, allocations: 93.62 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.615e-05, allocations: 1.781 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6713/0.8695, allocations: 112.2 MB / 0.75 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.8697, allocations: 70.52 kB / 0.7501 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004861/0.8746, allocations: 1.541 MB / 0.7516 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8746, allocations: 4 kB / 0.7516 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.8746, allocations: 7.781 kB / 0.7516 GB, free: 27.79 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.0005508/0.8752, allocations: 436 kB / 0.752 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.8753, allocations: 7.469 kB / 0.7521 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.8753, allocations: 43.14 kB / 0.7521 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.8754, allocations: 7.875 kB / 0.7521 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.8756, allocations: 198.8 kB / 0.7523 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.8756, allocations: 3.875 kB / 0.7523 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.8756, allocations: 3.938 kB / 0.7523 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.8758, allocations: 97.09 kB / 0.7524 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8759, allocations: 0 / 0.7524 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.8759, allocations: 3.844 kB / 0.7524 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.8759, allocations: 2.438 kB / 0.7524 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.876, allocations: 56.89 kB / 0.7525 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.8766, allocations: 338.2 kB / 0.7528 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.8767, allocations: 72.86 kB / 0.7528 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.8768, allocations: 61.12 kB / 0.7529 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.8769, allocations: 0 / 0.7529 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.877, allocations: 110.8 kB / 0.753 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.8771, allocations: 0 / 0.753 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.000332/0.8774, allocations: 178.9 kB / 0.7532 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.8775, allocations: 87.61 kB / 0.7533 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.8776, allocations: 111.7 kB / 0.7534 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.8776, allocations: 32.11 kB / 0.7534 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.8777, allocations: 100.5 kB / 0.7535 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.8777, allocations: 18.5 kB / 0.7535 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.8777, allocations: 7.219 kB / 0.7535 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8778, allocations: 317 kB / 0.7538 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.8779, allocations: 51.03 kB / 0.7539 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.878, allocations: 52.38 kB / 0.7539 GB, free: 26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/0.8781, allocations: 81.19 kB / 0.754 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8781, allocations: 0 / 0.754 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003206/0.8784, allocations: 226.5 kB / 0.7542 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.8785, allocations: 65.66 kB / 0.7543 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.8785, allocations: 0 / 0.7543 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8785, allocations: 4 kB / 0.7543 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.8787, allocations: 18.38 kB / 0.7543 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8787, allocations: 3.953 kB / 0.7543 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.8788, allocations: 27.67 kB / 0.7543 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.8789, allocations: 8.219 kB / 0.7543 GB, free: 25.77 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.0001052/0.879, allocations: 144.2 kB / 0.7545 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.879, allocations: 10.8 kB / 0.7545 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.879, allocations: 11.94 kB / 0.7545 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8791, allocations: 0 / 0.7545 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8791, allocations: 0 / 0.7545 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8791, allocations: 7.891 kB / 0.7545 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.8792, allocations: 191.6 kB / 0.7547 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8792, allocations: 64 / 0.7547 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.8793, allocations: 28.17 kB / 0.7547 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8793, allocations: 3.844 kB / 0.7547 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.8794, allocations: 0 / 0.7547 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8794, allocations: 0 / 0.7547 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8794, allocations: 7.781 kB / 0.7547 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.8796, allocations: 209 kB / 0.7549 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.8797, allocations: 83.73 kB / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.8797, allocations: 3.719 kB / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.8799, allocations: 32.25 kB / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.88, allocations: 39.88 kB / 0.7551 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.88, allocations: 3.844 kB / 0.7551 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.149e-05/0.8801, allocations: 99.36 kB / 0.7552 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8801, allocations: 0 / 0.7552 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001939/0.8803, allocations: 30.44 kB / 0.7552 GB, free: 25.12 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.0005559/0.8809, allocations: 0.7483 MB / 0.7559 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.8811, allocations: 225.4 kB / 0.7562 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8811, allocations: 0 / 0.7562 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.8813, allocations: 121.5 kB / 0.7563 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.8814, allocations: 17.66 kB / 0.7563 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.8819, allocations: 188.6 kB / 0.7565 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.8822, allocations: 0.6981 MB / 0.7571 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.323e-05/0.8822, allocations: 6.781 kB / 0.7572 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.8823, allocations: 21.22 kB / 0.7572 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.8823, allocations: 4 kB / 0.7572 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.8952, allocations: 2.476 MB / 0.7596 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.8954, allocations: 150.3 kB / 0.7597 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.645, allocations: 0 / 0.7597 GB, free: 22.84 MB / 0.5105 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)