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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 77.31 kB / 19.76 MB, free: 2.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 160.4 kB / 23 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 177.2 MB / 203.4 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7943/0.7943, allocations: 101.3 MB / 361.1 MB, free: 10.1 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.44 kB / 0.5356 GB, free: 5.547 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.187, allocations: 85.89 MB / 0.6195 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002801/0.1898, allocations: 1.49 MB / 0.6209 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.1908, allocations: 494.7 kB / 0.6214 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.1908, allocations: 0 / 0.6214 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.197e-05/0.1909, allocations: 7.922 kB / 0.6214 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.191, allocations: 15.88 kB / 0.6214 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1912, allocations: 47.88 kB / 0.6215 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1914, allocations: 103.7 kB / 0.6216 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.1915, allocations: 8.188 kB / 0.6216 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1917, allocations: 79.8 kB / 0.6216 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.1918, allocations: 35.83 kB / 0.6217 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1918, allocations: 8 kB / 0.6217 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.1918, allocations: 16 kB / 0.6217 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.1919, allocations: 15.92 kB / 0.6217 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.1919, allocations: 27.92 kB / 0.6217 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1921, allocations: 95.58 kB / 0.6218 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1921, allocations: 7.984 kB / 0.6218 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1921, allocations: 0 / 0.6218 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1921, allocations: 0 / 0.6218 GB, free: 15.45 MB / 0.5294 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.0007062/0.1928, allocations: 373.4 kB / 0.6222 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1929, allocations: 12.03 kB / 0.6222 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.193, allocations: 16.88 kB / 0.6222 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1933, allocations: 150.3 kB / 0.6224 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1933, allocations: 8.375 kB / 0.6224 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1933, allocations: 8.375 kB / 0.6224 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1937, allocations: 147.4 kB / 0.6225 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1937, allocations: 3.938 kB / 0.6225 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1937, allocations: 4 kB / 0.6225 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1937, allocations: 0 / 0.6225 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.194, allocations: 117.6 kB / 0.6226 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.1946, allocations: 272.4 kB / 0.6229 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1949, allocations: 128.2 kB / 0.623 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1951, allocations: 94.62 kB / 0.6231 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1951, allocations: 0 / 0.6231 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.1955, allocations: 153 kB / 0.6233 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1955, allocations: 7.938 kB / 0.6233 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007753/0.1962, allocations: 334.6 kB / 0.6236 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.1963, allocations: 85.11 kB / 0.6237 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1964, allocations: 137 kB / 0.6238 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1965, allocations: 29.7 kB / 0.6238 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.1965, allocations: 96.12 kB / 0.6239 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1966, allocations: 23.91 kB / 0.6239 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.1966, allocations: 37.64 kB / 0.624 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1968, allocations: 322.8 kB / 0.6243 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.197, allocations: 127.3 kB / 0.6244 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1972, allocations: 119.4 kB / 0.6245 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.1976, allocations: 185.8 kB / 0.6247 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1976, allocations: 0 / 0.6247 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000559/0.1982, allocations: 324.3 kB / 0.625 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.1982, allocations: 67.44 kB / 0.6251 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1982, allocations: 3.938 kB / 0.6251 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1982, allocations: 0 / 0.6251 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1984, allocations: 15.97 kB / 0.6251 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1984, allocations: 0 / 0.6251 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1985, allocations: 23.94 kB / 0.6251 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1985, allocations: 15.98 kB / 0.6251 GB, free: 11.76 MB / 0.5294 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 (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.0001267/0.1987, allocations: 147.5 kB / 0.6253 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.1987, allocations: 15.95 kB / 0.6253 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.1987, allocations: 12.77 kB / 0.6253 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1987, allocations: 4 kB / 0.6253 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1987, allocations: 0 / 0.6253 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1987, allocations: 0 / 0.6253 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1989, allocations: 125.2 kB / 0.6254 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1989, allocations: 0 / 0.6254 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.199, allocations: 15.98 kB / 0.6254 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.199, allocations: 4 kB / 0.6254 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.199, allocations: 256 / 0.6254 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.199, allocations: 0 / 0.6254 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.199, allocations: 11.92 kB / 0.6254 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.1995, allocations: 280.3 kB / 0.6257 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.1995, allocations: 7.891 kB / 0.6257 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1996, allocations: 8 kB / 0.6257 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1997, allocations: 23.97 kB / 0.6258 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.1998, allocations: 35.95 kB / 0.6258 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1998, allocations: 8 kB / 0.6258 GB, free: 11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.1999, allocations: 95.27 kB / 0.6259 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.6259 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002028/0.2001, allocations: 24 kB / 0.6259 GB, free: 10.88 MB / 0.5294 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 (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.0001073/0.2002, allocations: 103.2 kB / 0.626 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.2008, allocations: 351.8 kB / 0.6263 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2008, allocations: 0 / 0.6263 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.2011, allocations: 157 kB / 0.6265 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.2013, allocations: 23.91 kB / 0.6265 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.2018, allocations: 269 kB / 0.6268 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.2019, allocations: 79.08 kB / 0.6268 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.405e-05/0.2019, allocations: 7.984 kB / 0.6269 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.202, allocations: 12.5 kB / 0.6269 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.202, allocations: 4 kB / 0.6269 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of Templates: time 0.004806/0.2068, allocations: 2.014 MB / 0.6288 GB, free: 7.793 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.186006953008473] Failed to read output from testmodel.py, exit status != 0: 0.2145993709564209 0.22918428599999996 0.034118380000000004 Calling exit ...