Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 105.5 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.158/1.158, allocations: 173.4 MB / 470.6 MB, free: 13.63 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 72.22 kB / 0.6482 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2895, allocations: 89.51 MB / 0.7356 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003254/0.2928, allocations: 1.48 MB / 0.7371 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2939, allocations: 454.9 kB / 0.7375 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.294, allocations: 4 kB / 0.7375 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.2941, allocations: 7.938 kB / 0.7375 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.2942, allocations: 15.84 kB / 0.7375 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.2944, allocations: 35.89 kB / 0.7376 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.2947, allocations: 99.77 kB / 0.7377 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.2948, allocations: 24.16 kB / 0.7377 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.295, allocations: 39.84 kB / 0.7377 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2951, allocations: 43.83 kB / 0.7378 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.2951, allocations: 8 kB / 0.7378 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.2952, allocations: 8 kB / 0.7378 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.2952, allocations: 11.98 kB / 0.7378 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.774e-05/0.2953, allocations: 43.78 kB / 0.7378 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.2955, allocations: 87.58 kB / 0.7379 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2956, allocations: 4 kB / 0.7379 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.316e-06/0.2956, allocations: 0 / 0.7379 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2956, allocations: 4 kB / 0.7379 GB, free: 15.45 MB / 0.5762 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.0009059/0.2965, allocations: 446.6 kB / 0.7383 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2966, allocations: 12.03 kB / 0.7384 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.2966, allocations: 8.891 kB / 0.7384 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.2969, allocations: 192.2 kB / 0.7386 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2969, allocations: 4.375 kB / 0.7386 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2969, allocations: 8.375 kB / 0.7386 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.2973, allocations: 125.7 kB / 0.7387 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2973, allocations: 0 / 0.7387 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2973, allocations: 0 / 0.7387 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2974, allocations: 4 kB / 0.7387 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.2977, allocations: 87.86 kB / 0.7388 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.2983, allocations: 340.6 kB / 0.7391 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.2987, allocations: 106.5 kB / 0.7392 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.2989, allocations: 72.94 kB / 0.7393 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.2989, allocations: 4 kB / 0.7393 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.2994, allocations: 123.3 kB / 0.7394 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.2994, allocations: 0 / 0.7394 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007951/0.3002, allocations: 271.2 kB / 0.7396 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.3003, allocations: 89.11 kB / 0.7397 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3004, allocations: 132 kB / 0.7399 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3004, allocations: 33.7 kB / 0.7399 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.3005, allocations: 92.17 kB / 0.74 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3006, allocations: 23.88 kB / 0.74 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.3007, allocations: 29.72 kB / 0.74 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3009, allocations: 322.8 kB / 0.7403 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.3011, allocations: 71.89 kB / 0.7404 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3013, allocations: 63.95 kB / 0.7405 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.3017, allocations: 181.9 kB / 0.7406 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3017, allocations: 0 / 0.7406 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005434/0.3022, allocations: 265 kB / 0.7409 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.3023, allocations: 73.2 kB / 0.741 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3023, allocations: 0 / 0.741 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3024, allocations: 0 / 0.741 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3025, allocations: 15.98 kB / 0.741 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3025, allocations: 0 / 0.741 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.3027, allocations: 24.16 kB / 0.741 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3027, allocations: 8 kB / 0.741 GB, free: 12 MB / 0.5762 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.0001613/0.3029, allocations: 159.5 kB / 0.7412 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.3029, allocations: 11.94 kB / 0.7412 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.3029, allocations: 12.38 kB / 0.7412 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3029, allocations: 0 / 0.7412 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.303, allocations: 0 / 0.7412 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.303, allocations: 0 / 0.7412 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3032, allocations: 193.5 kB / 0.7414 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3032, allocations: 3.938 kB / 0.7414 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.3033, allocations: 11.98 kB / 0.7414 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3033, allocations: 4 kB / 0.7414 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3033, allocations: 11.94 kB / 0.7414 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3033, allocations: 0 / 0.7414 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3033, allocations: 0 / 0.7414 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.3039, allocations: 250.6 kB / 0.7416 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.3039, allocations: 85.05 kB / 0.7417 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.304, allocations: 8 kB / 0.7417 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3041, allocations: 23.97 kB / 0.7418 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.3043, allocations: 31.97 kB / 0.7418 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3043, allocations: 4 kB / 0.7418 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.341e-05/0.3044, allocations: 99.27 kB / 0.7419 GB, free: 11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3044, allocations: 0 / 0.7419 GB, free: 11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002093/0.3046, allocations: 27.94 kB / 0.7419 GB, free: 10.97 MB / 0.5762 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.0001507/0.3048, allocations: 111.2 kB / 0.742 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.3054, allocations: 266.7 kB / 0.7423 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3054, allocations: 0 / 0.7423 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.3057, allocations: 139.3 kB / 0.7424 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3059, allocations: 18.09 kB / 0.7424 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.3065, allocations: 226.9 kB / 0.7426 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3069, allocations: 0.6846 MB / 0.7433 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.115e-05/0.3069, allocations: 11.98 kB / 0.7433 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.307, allocations: 15.44 kB / 0.7433 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.307, allocations: 4 kB / 0.7433 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.005526/0.3125, allocations: 1.882 MB / 0.7452 GB, free: 7.543 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.45811044704169]