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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009717, allocations: 99.86 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.0009251/0.0009251, 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 1.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9337/0.9337, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 8 kB / 0.5069 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 82.31 MB / 0.5873 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001432/0.1789, allocations: 1.163 MB / 0.5884 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006233/0.1795, allocations: 431.3 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.1796, allocations: 0 / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.1797, allocations: 11.88 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.1797, allocations: 11.97 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1799, allocations: 23.91 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.18, allocations: 55.92 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1801, allocations: 12.19 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1803, allocations: 43.83 kB / 0.589 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.1804, allocations: 39.83 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1804, allocations: 4 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.1804, allocations: 4 kB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.1804, allocations: 11.92 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1805, allocations: 37.7 kB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.538e-05/0.1806, allocations: 48.17 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1806, allocations: 0 / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1806, allocations: 8 kB / 0.5891 GB, free: 1.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1806, allocations: 0 / 0.5891 GB, free: 1.18 MB / 494.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.0006235/0.1812, allocations: 438.5 kB / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1813, allocations: 8.031 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.1813, allocations: 38.55 kB / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.1814, allocations: 11.91 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1816, allocations: 194.8 kB / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1816, allocations: 8 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1816, allocations: 4 kB / 0.5898 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1819, allocations: 129.6 kB / 0.5899 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1819, allocations: 0 / 0.5899 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1819, allocations: 4 kB / 0.5899 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.182, allocations: 0 / 0.5899 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1822, allocations: 103.9 kB / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.1828, allocations: 344.7 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1831, allocations: 118.5 kB / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1831, allocations: 7.984 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.1834, allocations: 123.5 kB / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1835, allocations: 4 kB / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006717/0.1841, allocations: 303.1 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1842, allocations: 85.09 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.1843, allocations: 139.8 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1843, allocations: 29.7 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.1844, allocations: 92.08 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1844, allocations: 19.75 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.1844, allocations: 4 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.1845, allocations: 322.8 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1847, allocations: 71.95 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1849, allocations: 79.88 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1851, allocations: 115.3 kB / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1851, allocations: 0 / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004635/0.1856, allocations: 273 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.1856, allocations: 67.39 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1856, allocations: 0 / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1857, allocations: 0 / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1858, allocations: 19.98 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1858, allocations: 3.938 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1859, allocations: 35.92 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.186, allocations: 8 kB / 0.5922 GB, free: 13.75 MB / 0.4981 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.0001134/0.1861, allocations: 151.5 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.1861, allocations: 11.91 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.1862, allocations: 12.36 kB / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1862, allocations: 0 / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1862, allocations: 4 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1862, allocations: 4 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1863, allocations: 189.6 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1863, allocations: 0 / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.1864, allocations: 15.98 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1864, allocations: 4 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1864, allocations: 0 / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1865, allocations: 0 / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1865, allocations: 0 / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.1869, allocations: 270.5 kB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.187, allocations: 84.95 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.187, allocations: 15.98 kB / 0.5929 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1871, allocations: 19.98 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.1873, allocations: 36.05 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1873, allocations: 12.23 kB / 0.593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.1873, allocations: 99.27 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1874, allocations: 3.938 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001983/0.1876, allocations: 24 kB / 0.5931 GB, free: 12.7 MB / 0.4981 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.0006903/0.1883, allocations: 0.8014 MB / 0.5939 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.1887, allocations: 282.7 kB / 0.5941 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1887, allocations: 0 / 0.5941 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.189, allocations: 143.3 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.1891, allocations: 15.5 kB / 0.5943 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1905, allocations: 0.7964 MB / 0.5951 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1907, allocations: 0.6965 MB / 0.5958 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.1907, allocations: 12.17 kB / 0.5958 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.1908, allocations: 15.44 kB / 0.5958 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1908, allocations: 3.938 kB / 0.5958 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.472/1.663, allocations: 2.48 MB / 0.5982 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.663, allocations: 186.5 kB / 0.5984 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.088/6.751, allocations: 0 / 0.5984 GB, free: 7.246 MB / 0.4981 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) Environment - environmentSimulation: