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.001397/0.001397, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001001/0.001001, allocations: 177 kB / 23.36 MB, free: 1.129 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.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.804/0.804, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.092e-06/1.092e-06, allocations: 0 / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.324e-05, allocations: 9.547 kB / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002217/0.00223, allocations: 1.568 MB / 481.6 MB, free: 5.414 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.002927, allocations: 0.5164 MB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.002971, allocations: 0 / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.003048, allocations: 10.25 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.003097, allocations: 13.3 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.003273, allocations: 55.8 kB / 482.2 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003401, allocations: 99.28 kB / 482.3 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.033e-05/0.003472, allocations: 16.78 kB / 482.3 MB, free: 4.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.003614, allocations: 64.83 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.003674, allocations: 39.88 kB / 482.4 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.00369, allocations: 8.75 kB / 482.4 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.003732, allocations: 12 kB / 482.4 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.003761, allocations: 16.98 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.003795, allocations: 31.92 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003901, allocations: 75.72 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003903, allocations: 4.781 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003903, allocations: 0 / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.003906, allocations: 0.9062 kB / 482.5 MB, free: 4.484 MB / 442.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.0003775/0.004284, allocations: 355.9 kB / 482.9 MB, free: 4.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.004312, allocations: 8.031 kB / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.00441, allocations: 26.06 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004542, allocations: 125.7 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004554, allocations: 10.3 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.004565, allocations: 8.312 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.004714, allocations: 124.6 kB / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.004722, allocations: 192 / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.004734, allocations: 12.12 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004739, allocations: 0.8125 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.004789, allocations: 53.67 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.005052, allocations: 187.9 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.005145, allocations: 80.92 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.005191, allocations: 62.67 kB / 483.6 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.005201, allocations: 1.031 kB / 483.6 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.005326, allocations: 121 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.005327, allocations: 0.7812 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.000205/0.005532, allocations: 198.6 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.005571, allocations: 85.95 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.005639, allocations: 133 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.005653, allocations: 30.33 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.005692, allocations: 96.06 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.005706, allocations: 20.47 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.005747, allocations: 30.31 kB / 484.3 MB, free: 2.559 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.005826, allocations: 322.8 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.005874, allocations: 80.02 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.005925, allocations: 83.33 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.006008, allocations: 145.3 kB / 484.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006009, allocations: 0.625 kB / 484.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001314/0.00614, allocations: 208.4 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.006172, allocations: 64 kB / 485.1 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.006175, allocations: 4.812 kB / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006187, allocations: 0 / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.00625, allocations: 13.42 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.006252, allocations: 4 kB / 485.2 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.006311, allocations: 19.92 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.006322, allocations: 8.484 kB / 485.2 MB, free: 1.531 MB / 442.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 7.494e-05/0.006397, allocations: 151.2 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.006412, allocations: 15.92 kB / 485.3 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.006431, allocations: 9.5 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.006436, allocations: 4 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006437, allocations: 1.031 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.00644, allocations: 0 / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.214e-05/0.006512, allocations: 85.86 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006514, allocations: 0.5312 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.006544, allocations: 12.58 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.006546, allocations: 1.5 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.006552, allocations: 0 / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.006555, allocations: 7.938 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006556, allocations: 416 / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.006674, allocations: 172.4 kB / 485.6 MB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.006687, allocations: 21.64 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.006702, allocations: 4 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.006746, allocations: 15.92 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.006819, allocations: 36.73 kB / 485.7 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.006826, allocations: 4 kB / 485.7 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.088e-05/0.006847, allocations: 29.86 kB / 485.7 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006847, allocations: 0 / 485.7 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001069/0.006954, allocations: 20 kB / 485.8 MB, free: 0.8906 MB / 442.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 6.287e-05/0.007017, allocations: 85.19 kB / 485.8 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.007185, allocations: 274.6 kB / 486.1 MB, free: 500 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.007189, allocations: 4 kB / 486.1 MB, free: 496 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.007267, allocations: 125.9 kB / 486.2 MB, free: 348 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.993e-05/0.007357, allocations: 18.8 kB / 486.3 MB, free: 332 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.007762, allocations: 246.1 kB / 486.5 MB, free: 52 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.00781, allocations: 67.33 kB / 486.6 MB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.786e-05/0.007838, allocations: 6.781 kB / 486.6 MB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.007924, allocations: 75.38 kB / 486.6 MB, free: 15.89 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007925, allocations: 0 / 486.6 MB, free: 15.89 MB / 458.7 MB Notification: Performance of Templates: time 0.003296/0.01122, allocations: 2.081 MB / 488.7 MB, free: 13.96 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.696280226111412]