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.001042/0.001042, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001299/0.001299, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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 0.869/0.869, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7381/0.7381, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0.875 kB / 0.5207 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.449e-05, allocations: 5.156 kB / 0.5207 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001677/0.001691, allocations: 1.514 MB / 0.5222 GB, free: 428 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006197/0.002311, allocations: 0.5088 MB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.002363, allocations: 0 / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 7.907e-05/0.002442, allocations: 7.938 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.002486, allocations: 13.52 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.002692, allocations: 51.81 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.002811, allocations: 111.7 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.002887, allocations: 8.172 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.003033, allocations: 68.58 kB / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.003093, allocations: 37.12 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.003111, allocations: 8 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.003148, allocations: 16 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.003178, allocations: 7.984 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.003214, allocations: 37.14 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003322, allocations: 83.72 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003324, allocations: 0 / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003324, allocations: 2.25 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.003327, allocations: 0 / 0.5231 GB, free: 15.47 MB / 0.4948 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.0004408/0.003768, allocations: 475.7 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.003802, allocations: 12.03 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.589e-05/0.003898, allocations: 18.64 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.004019, allocations: 136.5 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.004031, allocations: 12.31 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.004041, allocations: 4.375 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.00419, allocations: 129.2 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.004196, allocations: 192 / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.004206, allocations: 5.031 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004211, allocations: 7.938 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.004258, allocations: 54.73 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.004522, allocations: 284.4 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.153e-05/0.004613, allocations: 89.47 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.004653, allocations: 61.5 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.004663, allocations: 1.031 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.004779, allocations: 126.6 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.00478, allocations: 1.469 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002328/0.005013, allocations: 238.6 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.005046, allocations: 85.11 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.005121, allocations: 187.8 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.005135, allocations: 34.84 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.005186, allocations: 138.8 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.005203, allocations: 23.83 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.005243, allocations: 36.05 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.005347, allocations: 0.4923 MB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.005398, allocations: 76.67 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.802e-05/0.005446, allocations: 87.36 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.679e-05/0.005533, allocations: 140.8 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005535, allocations: 1.094 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001784/0.005713, allocations: 252.4 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.005745, allocations: 63.41 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.005749, allocations: 0.5781 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.005758, allocations: 6.906 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.00582, allocations: 15.92 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.005824, allocations: 3.984 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.005882, allocations: 15.98 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.005894, allocations: 11.98 kB / 0.5263 GB, free: 11.86 MB / 0.4948 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 7.608e-05/0.00597, allocations: 190.3 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.005987, allocations: 22.92 kB / 0.5265 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.00601, allocations: 12.77 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006012, allocations: 4.25 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.006013, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.006017, allocations: 4 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.869e-05/0.006085, allocations: 113.2 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006086, allocations: 0 / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.00611, allocations: 11.92 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006113, allocations: 5.5 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.006121, allocations: 7.938 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.006121, allocations: 0 / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006123, allocations: 0 / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.006294, allocations: 232.2 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.006305, allocations: 12.83 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.00632, allocations: 11.94 kB / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.006367, allocations: 15.05 kB / 0.5269 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.006436, allocations: 35.95 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.006443, allocations: 4 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001845/0.006627, allocations: 141.4 kB / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006627, allocations: 0 / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001267/0.006754, allocations: 24 kB / 0.5271 GB, free: 10.96 MB / 0.4948 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 6.689e-05/0.006821, allocations: 97.69 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.006998, allocations: 283.5 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-06/0.006999, allocations: 0 / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.007071, allocations: 128.8 kB / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.007204, allocations: 12 kB / 0.5276 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.007612, allocations: 246.4 kB / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.00764, allocations: 59.34 kB / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.007667, allocations: 6.562 kB / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.007753, allocations: 102.2 kB / 0.528 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.007754, allocations: 0 / 0.528 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of Templates: time 0.003158/0.01091, allocations: 2.217 MB / 0.5302 GB, free: 7.836 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.302285574376583]