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.001492/0.001492, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001605/0.001605, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8496/0.8496, allocations: 154.6 MB / 414.9 MB, free: 0.6719 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 2.364e-06/2.364e-06, allocations: 0 / 0.5203 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.779e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003123/0.00316, allocations: 1.513 MB / 0.5218 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.004189, allocations: 0.5053 MB / 0.5223 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004292, allocations: 4 kB / 0.5223 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.004438, allocations: 3.938 kB / 0.5223 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.004526, allocations: 12.39 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.004963, allocations: 52.31 kB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.005184, allocations: 107.7 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.005322, allocations: 13.12 kB / 0.5224 GB, free: 388 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.005597, allocations: 71.81 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.005731, allocations: 37.5 kB / 0.5225 GB, free: 280 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.005763, allocations: 8 kB / 0.5226 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.144e-05/0.005824, allocations: 16 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.005881, allocations: 7.984 kB / 0.5226 GB, free: 248 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.053e-05/0.005961, allocations: 28.86 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.006218, allocations: 83.72 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.006226, allocations: 0 / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.006228, allocations: 1.406 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.006237, allocations: 0 / 0.5227 GB, free: 136 kB / 490.7 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.0008151/0.007052, allocations: 476.9 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.007093, allocations: 8.031 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.007259, allocations: 24.88 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.007462, allocations: 142.7 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.007479, allocations: 9.656 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.007493, allocations: 4.375 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.007739, allocations: 140.6 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.007748, allocations: 1.344 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.007762, allocations: 12.05 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.007771, allocations: 4 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.007848, allocations: 62.25 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.008346, allocations: 313.5 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.008552, allocations: 92.75 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.008656, allocations: 81.42 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.008674, allocations: 4 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.008918, allocations: 128.3 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 3.887e-06/0.008922, allocations: 4 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004306/0.009352, allocations: 266.6 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.00942, allocations: 85.11 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.009576, allocations: 187.4 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.009601, allocations: 33.7 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.009685, allocations: 146.8 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.009712, allocations: 19.91 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.00978, allocations: 39.36 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.009937, allocations: 0.4884 MB / 0.5253 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.01005, allocations: 91.39 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01015, allocations: 99.31 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.0103, allocations: 144.7 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0103, allocations: 2.812 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00046/0.01076, allocations: 268.3 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.01082, allocations: 67.39 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01083, allocations: 0 / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01085, allocations: 0 / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01097, allocations: 15.98 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01098, allocations: 0 / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.379e-05/0.01107, allocations: 17.42 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.01109, allocations: 8 kB / 0.526 GB, free: 12.37 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 0.0001424/0.01123, allocations: 197.9 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.01127, allocations: 19.89 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.01131, allocations: 13.8 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01131, allocations: 0 / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.01132, allocations: 4 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01132, allocations: 1.156 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.01147, allocations: 132.6 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01147, allocations: 7.922 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.01153, allocations: 16.44 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01153, allocations: 0.5 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01155, allocations: 2.125 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.01155, allocations: 11.92 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01156, allocations: 256 / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01188, allocations: 239.8 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.01191, allocations: 15.81 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01194, allocations: 4 kB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.01203, allocations: 22.42 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.01218, allocations: 35.95 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.01219, allocations: 4 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.849e-05/0.01227, allocations: 139.2 kB / 0.5269 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01227, allocations: 0 / 0.5269 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002532/0.01253, allocations: 23.98 kB / 0.5269 GB, free: 11.41 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 0.0001405/0.01267, allocations: 105.5 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.01303, allocations: 299.5 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01303, allocations: 0 / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.0132, allocations: 144.8 kB / 0.5274 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.01347, allocations: 17.03 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.01434, allocations: 262.7 kB / 0.5277 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.01439, allocations: 60.28 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.644e-05/0.01444, allocations: 9.266 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.0145, allocations: 21.16 kB / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.743e-06/0.0145, allocations: 0 / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.005579/0.02008, allocations: 2.046 MB / 0.5298 GB, free: 8.457 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: 4.221137312008068]