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.00208/0.00208, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002436/0.002436, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.756/1.756, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-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 1.381/1.381, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 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.673e-06/1.673e-06, allocations: 0 / 0.5196 GB, free: 1.492 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.53e-05, allocations: 3.312 kB / 0.5196 GB, free: 1.488 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003174/0.003209, allocations: 1.49 MB / 0.521 GB, free: 8 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004335, allocations: 0.5105 MB / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.004402, allocations: 5.344 kB / 0.5215 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.004528, allocations: 3.938 kB / 0.5215 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.004593, allocations: 15.39 kB / 0.5215 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.004887, allocations: 47.88 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.0051, allocations: 107.7 kB / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.005208, allocations: 8.125 kB / 0.5217 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.005457, allocations: 71.8 kB / 0.5218 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.544e-05/0.005553, allocations: 31.91 kB / 0.5218 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.005584, allocations: 8 kB / 0.5218 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.524e-05/0.005639, allocations: 15.98 kB / 0.5218 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.005694, allocations: 15.92 kB / 0.5218 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.00576, allocations: 28.53 kB / 0.5219 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.005971, allocations: 96.31 kB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.005977, allocations: 3.984 kB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005979, allocations: 0.9688 kB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.005984, allocations: 0 / 0.522 GB, free: 15.05 MB / 458.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.0008625/0.006846, allocations: 476.9 kB / 0.5224 GB, free: 14.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.006889, allocations: 11.97 kB / 0.5224 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.007093, allocations: 28.81 kB / 0.5225 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.007343, allocations: 150.8 kB / 0.5226 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.007361, allocations: 4.375 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.007381, allocations: 5.281 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.007707, allocations: 145.5 kB / 0.5228 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.007718, allocations: 192 / 0.5228 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.007735, allocations: 4.125 kB / 0.5228 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007743, allocations: 4 kB / 0.5228 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.008011, allocations: 102.3 kB / 0.5229 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.008618, allocations: 316.7 kB / 0.5232 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.008935, allocations: 128.7 kB / 0.5233 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.009129, allocations: 98.77 kB / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.009152, allocations: 0 / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.009509, allocations: 171.3 kB / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.00951, allocations: 0 / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.00091/0.01042, allocations: 316.1 kB / 0.5238 GB, free: 12.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.01051, allocations: 89.09 kB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.0107, allocations: 202.8 kB / 0.5241 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.01074, allocations: 33.7 kB / 0.5242 GB, free: 12.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01086, allocations: 138.9 kB / 0.5243 GB, free: 12.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.01089, allocations: 19.89 kB / 0.5243 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.01097, allocations: 39.38 kB / 0.5243 GB, free: 12.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003002/0.01127, allocations: 0.4923 MB / 0.5248 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.01149, allocations: 119.4 kB / 0.5249 GB, free: 11.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.01169, allocations: 117.7 kB / 0.525 GB, free: 11.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.01201, allocations: 176.7 kB / 0.5252 GB, free: 11.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01201, allocations: 0 / 0.5252 GB, free: 11.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005612/0.01257, allocations: 323 kB / 0.5255 GB, free: 11.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.01265, allocations: 63.39 kB / 0.5256 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01265, allocations: 0 / 0.5256 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.01268, allocations: 0 / 0.5256 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.0128, allocations: 19.98 kB / 0.5256 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01281, allocations: 0 / 0.5256 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01293, allocations: 19.92 kB / 0.5256 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.01295, allocations: 9.25 kB / 0.5256 GB, free: 10.96 MB / 458.7 MB 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.0002033/0.01316, allocations: 202.3 kB / 0.5258 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.01319, allocations: 16.83 kB / 0.5258 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.01323, allocations: 8.781 kB / 0.5258 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01323, allocations: 4 kB / 0.5259 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01323, allocations: 0.9375 kB / 0.5259 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01324, allocations: 3.984 kB / 0.5259 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.01341, allocations: 141.3 kB / 0.526 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01342, allocations: 0 / 0.526 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.01349, allocations: 12.44 kB / 0.526 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01349, allocations: 5.219 kB / 0.526 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.01351, allocations: 3.984 kB / 0.526 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01351, allocations: 0 / 0.526 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01351, allocations: 0 / 0.526 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.01404, allocations: 284.6 kB / 0.5263 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.01407, allocations: 12.55 kB / 0.5263 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.01411, allocations: 9.094 kB / 0.5263 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01422, allocations: 15.97 kB / 0.5263 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.01437, allocations: 46.48 kB / 0.5264 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.01439, allocations: 4 kB / 0.5264 GB, free: 10.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.0145, allocations: 143.2 kB / 0.5265 GB, free: 9.988 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0145, allocations: 0 / 0.5265 GB, free: 9.988 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.01471, allocations: 24 kB / 0.5265 GB, free: 9.965 MB / 458.7 MB 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.0001543/0.01486, allocations: 110.3 kB / 0.5266 GB, free: 9.852 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006149/0.01548, allocations: 347.5 kB / 0.527 GB, free: 9.465 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01548, allocations: 0 / 0.527 GB, free: 9.465 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.01576, allocations: 172.7 kB / 0.5271 GB, free: 9.273 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.016, allocations: 12 kB / 0.5271 GB, free: 9.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.01664, allocations: 264.5 kB / 0.5274 GB, free: 8.969 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.012e-05/0.01673, allocations: 83.44 kB / 0.5275 GB, free: 8.867 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.01679, allocations: 10.83 kB / 0.5275 GB, free: 8.859 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.01684, allocations: 16.5 kB / 0.5275 GB, free: 8.844 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01684, allocations: 0 / 0.5275 GB, free: 8.844 MB / 458.7 MB Notification: Performance of Templates: time 0.006023/0.02286, allocations: 2.044 MB / 0.5295 GB, free: 6.918 MB / 458.7 MB " [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: 6.63478677009698]