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.001489/0.001489, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.001243/0.001243, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.036/2.036, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.116/1.116, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005447/0.0005449, allocations: 8 kB / 0.5033 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9354/0.936, allocations: 81.57 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002776/0.9388, allocations: 1.171 MB / 0.5841 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.9401, allocations: 431.7 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.9402, allocations: 4.938 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.9403, allocations: 5.5 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.9404, allocations: 16.47 kB / 0.5845 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.9407, allocations: 29.84 kB / 0.5846 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.9409, allocations: 51.72 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.9411, allocations: 12.72 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.9413, allocations: 43.44 kB / 0.5847 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.9415, allocations: 34.66 kB / 0.5847 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.9415, allocations: 4 kB / 0.5847 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.034e-05/0.9416, allocations: 7.875 kB / 0.5847 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.9417, allocations: 22.41 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.9418, allocations: 38.55 kB / 0.5848 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.942, allocations: 48.62 kB / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.942, allocations: 0 / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.942, allocations: 1.156 kB / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.942, allocations: 0 / 0.5848 GB, free: 2.723 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.0009298/0.9429, allocations: 439.7 kB / 0.5852 GB, free: 2.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/0.943, allocations: 13.69 kB / 0.5852 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.9431, allocations: 39.06 kB / 0.5853 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.9432, allocations: 9.219 kB / 0.5853 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.9435, allocations: 195.5 kB / 0.5855 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.9435, allocations: 7.406 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.9436, allocations: 6.609 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.9441, allocations: 124.1 kB / 0.5856 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.9442, allocations: 0 / 0.5856 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.9442, allocations: 2 kB / 0.5856 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.9442, allocations: 2.594 kB / 0.5856 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.9448, allocations: 106.8 kB / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.9458, allocations: 334.5 kB / 0.586 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.9464, allocations: 120.6 kB / 0.5862 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.9464, allocations: 0.7812 kB / 0.5862 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.947, allocations: 135 kB / 0.5863 GB, free: 1.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.947, allocations: 2.094 kB / 0.5863 GB, free: 1.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001328/0.9484, allocations: 298.3 kB / 0.5866 GB, free: 1.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.9485, allocations: 86.19 kB / 0.5867 GB, free: 1.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.9487, allocations: 133.3 kB / 0.5868 GB, free: 1.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.9487, allocations: 28.61 kB / 0.5868 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.9488, allocations: 101.1 kB / 0.5869 GB, free: 1.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.9488, allocations: 20.22 kB / 0.5869 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.9489, allocations: 2.688 kB / 0.5869 GB, free: 1.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.949, allocations: 319.2 kB / 0.5872 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.9494, allocations: 77.06 kB / 0.5873 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.9498, allocations: 78.59 kB / 0.5874 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.9501, allocations: 116.4 kB / 0.5875 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9501, allocations: 0 / 0.5875 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009329/0.9511, allocations: 270.3 kB / 0.5877 GB, free: 492 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.9512, allocations: 67.33 kB / 0.5878 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9512, allocations: 3.938 kB / 0.5878 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.9512, allocations: 0.9844 kB / 0.5878 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.9515, allocations: 22.23 kB / 0.5878 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.9515, allocations: 3.953 kB / 0.5878 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.9518, allocations: 30.72 kB / 0.5879 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.9518, allocations: 9.156 kB / 0.5879 GB, free: 404 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 ($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.0001775/0.952, allocations: 152 kB / 0.588 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.9521, allocations: 13.41 kB / 0.588 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.9521, allocations: 15.8 kB / 0.588 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9521, allocations: 1 kB / 0.5881 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9522, allocations: 0 / 0.5881 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.9522, allocations: 5.5 kB / 0.5881 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.9524, allocations: 191.4 kB / 0.5882 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9524, allocations: 1.156 kB / 0.5882 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.9526, allocations: 15.88 kB / 0.5883 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9526, allocations: 1.375 kB / 0.5883 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.9526, allocations: 6.719 kB / 0.5883 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9527, allocations: 0.5 kB / 0.5883 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9527, allocations: 0.7969 kB / 0.5883 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.9537, allocations: 267.3 kB / 0.5885 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.9538, allocations: 82.92 kB / 0.5886 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.9539, allocations: 4 kB / 0.5886 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.9542, allocations: 29.61 kB / 0.5886 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.9544, allocations: 35.17 kB / 0.5887 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.9545, allocations: 7.766 kB / 0.5887 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.9546, allocations: 104 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.276e-06/0.9546, allocations: 0 / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000418/0.9551, allocations: 25.47 kB / 0.5888 GB, free: 15.66 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 (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.001494/0.9566, allocations: 0.7979 MB / 0.5896 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.9576, allocations: 282.3 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.9576, allocations: 3.938 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.9581, allocations: 146.9 kB / 0.59 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.9584, allocations: 15.17 kB / 0.59 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.9612, allocations: 0.7858 MB / 0.5908 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.9616, allocations: 0.6938 MB / 0.5914 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.9617, allocations: 8.578 kB / 0.5915 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.9618, allocations: 20.16 kB / 0.5915 GB, free: 13.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.164e-06/0.9618, allocations: 0 / 0.5915 GB, free: 13.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/1.004, allocations: 2.475 MB / 0.5939 GB, free: 13.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003577/1.004, allocations: 175.3 kB / 0.5941 GB, free: 13.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.854, allocations: 0 / 0.5941 GB, free: 13.08 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/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) Environment - environmentSimulation: