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.001382/0.001382, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001634/0.001634, allocations: 161.9 kB / 22.46 MB, free: 5.359 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.235/1.235, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.613e-06/1.613e-06, allocations: 0 / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.284e-05, allocations: 5.344 kB / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.00277/0.002803, allocations: 1.484 MB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009467/0.00375, allocations: 0.4929 MB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.003814, allocations: 5.094 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.003917, allocations: 7.875 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.003974, allocations: 15.81 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.004306, allocations: 47.92 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.004489, allocations: 107.7 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.004585, allocations: 16.09 kB / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.004785, allocations: 63.89 kB / 0.6207 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.004871, allocations: 31.89 kB / 0.6207 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.004951, allocations: 8 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.005, allocations: 15.98 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.005046, allocations: 15.92 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.005109, allocations: 31.92 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.005287, allocations: 99.73 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005289, allocations: 0 / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00529, allocations: 0 / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.005294, allocations: 0 / 0.6209 GB, free: 2.176 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.0008463/0.00614, allocations: 385.4 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.006174, allocations: 8.031 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.006333, allocations: 20.88 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.006576, allocations: 144.1 kB / 0.6214 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006595, allocations: 12.36 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.006615, allocations: 8.312 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.006965, allocations: 147.9 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006974, allocations: 192 / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.006992, allocations: 8.125 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.006996, allocations: 0 / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.007327, allocations: 117.6 kB / 0.6217 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.007851, allocations: 264.4 kB / 0.622 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.008209, allocations: 128.2 kB / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.008424, allocations: 98.56 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.008437, allocations: 3.984 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.008763, allocations: 161 kB / 0.6224 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.008765, allocations: 0 / 0.6224 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007952/0.00956, allocations: 330.6 kB / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.009633, allocations: 89.09 kB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.009863, allocations: 138.1 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.009889, allocations: 25.7 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.00996, allocations: 92.14 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.00999, allocations: 27.95 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.01018, allocations: 25.72 kB / 0.623 GB, free: 15.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.01033, allocations: 322.8 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.01057, allocations: 127.3 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.0108, allocations: 123.3 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.01125, allocations: 181.8 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01125, allocations: 4 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005828/0.01184, allocations: 340.2 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.0119, allocations: 63.41 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.0119, allocations: 0 / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01192, allocations: 0 / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01204, allocations: 15.97 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01204, allocations: 0 / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01219, allocations: 27.92 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.01221, allocations: 8 kB / 0.6242 GB, free: 14.48 MB / 0.545 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.0001421/0.01235, allocations: 153.4 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.01238, allocations: 11.89 kB / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.01242, allocations: 16.77 kB / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01242, allocations: 4 kB / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01243, allocations: 0 / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01243, allocations: 0 / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.01255, allocations: 121.3 kB / 0.6245 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01255, allocations: 4 kB / 0.6245 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.01264, allocations: 16.17 kB / 0.6245 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01264, allocations: 4 kB / 0.6245 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01266, allocations: 4 kB / 0.6245 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01266, allocations: 3.938 kB / 0.6245 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01266, allocations: 0 / 0.6245 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.01322, allocations: 280.4 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01323, allocations: 7.891 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.01326, allocations: 8 kB / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.0134, allocations: 19.97 kB / 0.6248 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.01354, allocations: 39.95 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.01355, allocations: 4 kB / 0.6249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.327e-05/0.01363, allocations: 101.9 kB / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01363, allocations: 0 / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002131/0.01384, allocations: 24 kB / 0.625 GB, free: 13.59 MB / 0.545 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.0001182/0.01396, allocations: 99.25 kB / 0.6251 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006017/0.01456, allocations: 351.7 kB / 0.6254 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01456, allocations: 0 / 0.6254 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.01497, allocations: 161 kB / 0.6256 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.01519, allocations: 25.86 kB / 0.6256 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.01585, allocations: 255 kB / 0.6258 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.51e-05/0.01592, allocations: 76.64 kB / 0.6259 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.875e-05/0.01597, allocations: 8 kB / 0.6259 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.01605, allocations: 20.42 kB / 0.6259 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01605, allocations: 0 / 0.6259 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Templates: time 0.005205/0.02125, allocations: 2.02 MB / 0.6279 GB, free: 10.52 MB / 0.545 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.973674021661282] Failed to read output from testmodel.py, exit status != 0: 0.02999807894229889 0.045107095 0.036754808 Calling exit ...