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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007545/0.007545, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7513/0.7513, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 14.17 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3891, allocations: 81.58 MB / 0.5837 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001373/0.3905, allocations: 1.192 MB / 0.5849 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006748/0.3912, allocations: 467.4 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.3912, allocations: 0 / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.465e-05/0.3913, allocations: 2.406 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.3914, allocations: 14.83 kB / 0.5854 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.3916, allocations: 37.55 kB / 0.5854 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3917, allocations: 87.88 kB / 0.5855 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.3918, allocations: 12.19 kB / 0.5855 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3919, allocations: 37.62 kB / 0.5855 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.392, allocations: 38.2 kB / 0.5856 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.392, allocations: 3.781 kB / 0.5856 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.392, allocations: 12.09 kB / 0.5856 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.3921, allocations: 13.95 kB / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.3921, allocations: 59.73 kB / 0.5857 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.3923, allocations: 74.67 kB / 0.5857 GB, free: 2.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3923, allocations: 1.281 kB / 0.5857 GB, free: 2.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3923, allocations: 0 / 0.5857 GB, free: 2.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3923, allocations: 0 / 0.5857 GB, free: 2.477 MB / 430.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.0005319/0.3928, allocations: 448.3 kB / 0.5862 GB, free: 2.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3929, allocations: 9.031 kB / 0.5862 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.3929, allocations: 34.5 kB / 0.5862 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.393, allocations: 12.27 kB / 0.5862 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3931, allocations: 185.5 kB / 0.5864 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3931, allocations: 12.47 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3931, allocations: 6.688 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.3935, allocations: 136 kB / 0.5865 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3935, allocations: 0.5625 kB / 0.5865 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3935, allocations: 2.219 kB / 0.5865 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3935, allocations: 1.188 kB / 0.5865 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.3938, allocations: 104.6 kB / 0.5866 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.3943, allocations: 341.5 kB / 0.587 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.3947, allocations: 120.6 kB / 0.5871 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.3949, allocations: 86.05 kB / 0.5872 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3949, allocations: 1.5 kB / 0.5872 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.3952, allocations: 131.6 kB / 0.5873 GB, free: 1.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3952, allocations: 0 / 0.5873 GB, free: 1.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007168/0.396, allocations: 300.7 kB / 0.5876 GB, free: 1.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.396, allocations: 90.08 kB / 0.5877 GB, free: 1.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.3961, allocations: 127.2 kB / 0.5878 GB, free: 0.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3961, allocations: 32.17 kB / 0.5878 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.3962, allocations: 93.34 kB / 0.5879 GB, free: 0.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.3962, allocations: 17.47 kB / 0.5879 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.3962, allocations: 19.44 kB / 0.5879 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.3963, allocations: 323.2 kB / 0.5882 GB, free: 452 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3965, allocations: 74.84 kB / 0.5883 GB, free: 436 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.3967, allocations: 72.95 kB / 0.5884 GB, free: 420 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.397, allocations: 196.3 kB / 0.5886 GB, free: 288 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.397, allocations: 2.203 kB / 0.5886 GB, free: 288 kB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004935/0.3975, allocations: 283.3 kB / 0.5888 GB, free: 136 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.3976, allocations: 61.14 kB / 0.5889 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3976, allocations: 0.7812 kB / 0.5889 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3976, allocations: 0.9688 kB / 0.5889 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3977, allocations: 21.77 kB / 0.5889 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3978, allocations: 8.594 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.3979, allocations: 30.33 kB / 0.589 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3979, allocations: 8.672 kB / 0.589 GB, free: 52 kB / 430.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.3981, allocations: 156.4 kB / 0.5891 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.3981, allocations: 10.31 kB / 0.5891 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.3982, allocations: 23 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3982, allocations: 1 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3982, allocations: 0 / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3982, allocations: 1.703 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.3983, allocations: 191.6 kB / 0.5893 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3983, allocations: 0.7969 kB / 0.5893 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.3984, allocations: 15.22 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3984, allocations: 0.9062 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3985, allocations: 7.922 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3985, allocations: 4.25 kB / 0.5894 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3985, allocations: 0.875 kB / 0.5894 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.399, allocations: 267.8 kB / 0.5896 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.3991, allocations: 83.55 kB / 0.5897 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3991, allocations: 4.359 kB / 0.5897 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3993, allocations: 24.58 kB / 0.5897 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.3994, allocations: 41.95 kB / 0.5898 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3994, allocations: 3.391 kB / 0.5898 GB, free: 15.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.081e-05/0.3995, allocations: 108.4 kB / 0.5899 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3995, allocations: 0 / 0.5899 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.3997, allocations: 21.78 kB / 0.5899 GB, free: 15.3 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007588/0.4005, allocations: 0.7919 MB / 0.5907 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.401, allocations: 281.5 kB / 0.5909 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.401, allocations: 1.5 kB / 0.5909 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.4013, allocations: 146.8 kB / 0.5911 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.4015, allocations: 21.94 kB / 0.5911 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.4038, allocations: 1.791 MB / 0.5929 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.4041, allocations: 0.6901 MB / 0.5935 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.4041, allocations: 12.22 kB / 0.5935 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.4042, allocations: 20.02 kB / 0.5936 GB, free: 12.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4042, allocations: 0 / 0.5936 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3939/0.7981, allocations: 2.526 MB / 0.596 GB, free: 12.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/0.7984, allocations: 203.7 kB / 0.5962 GB, free: 11.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.607, allocations: 3.75 kB / 0.5962 GB, free: 11.82 MB / 446.1 MB (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/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)