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.001756/0.001756, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001568/0.001568, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.614/1.614, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.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.191/1.191, allocations: 175.7 MB / 480.2 MB, free: 2.762 MB / 366.1 MB " [Timeout remaining time 179] 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.001997/0.001997, allocations: 71.14 kB / 0.6683 GB, free: 10.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2518, allocations: 94.53 MB / 0.7606 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003111/0.2549, allocations: 1.496 MB / 0.7621 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.2559, allocations: 466.9 kB / 0.7625 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.2559, allocations: 0 / 0.7625 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.256, allocations: 11.94 kB / 0.7626 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.2561, allocations: 11.86 kB / 0.7626 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.2563, allocations: 35.89 kB / 0.7626 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.2566, allocations: 95.77 kB / 0.7627 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2567, allocations: 20.09 kB / 0.7627 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2568, allocations: 47.84 kB / 0.7628 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.836e-05/0.2569, allocations: 39.83 kB / 0.7628 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.257, allocations: 12 kB / 0.7628 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.257, allocations: 8 kB / 0.7628 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.257, allocations: 19.91 kB / 0.7628 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2572, allocations: 35.86 kB / 0.7629 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2573, allocations: 91.62 kB / 0.763 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2574, allocations: 0 / 0.763 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2574, allocations: 0 / 0.763 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2574, allocations: 0 / 0.763 GB, free: 14.09 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.000921/0.2583, allocations: 446.6 kB / 0.7634 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.2583, allocations: 15.97 kB / 0.7634 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.2584, allocations: 8.891 kB / 0.7634 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.2587, allocations: 192.3 kB / 0.7636 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2587, allocations: 4.375 kB / 0.7636 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.2587, allocations: 16.38 kB / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.259, allocations: 113.7 kB / 0.7637 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.259, allocations: 3.938 kB / 0.7637 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2591, allocations: 8 kB / 0.7637 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2591, allocations: 0 / 0.7637 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.2594, allocations: 95.86 kB / 0.7638 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.26, allocations: 332.6 kB / 0.7641 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.2603, allocations: 98.5 kB / 0.7642 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.2605, allocations: 68.94 kB / 0.7643 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2605, allocations: 80 / 0.7643 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.2609, allocations: 127.2 kB / 0.7644 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.2609, allocations: 0 / 0.7644 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007534/0.2616, allocations: 279.2 kB / 0.7647 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002356/0.2619, allocations: 85.09 kB / 0.7648 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.262, allocations: 127.1 kB / 0.7649 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.262, allocations: 33.7 kB / 0.7649 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.2622, allocations: 92.09 kB / 0.765 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.2622, allocations: 19.89 kB / 0.765 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.2623, allocations: 29.72 kB / 0.7651 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.2626, allocations: 322.8 kB / 0.7654 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.2628, allocations: 71.89 kB / 0.7654 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.263, allocations: 67.94 kB / 0.7655 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.2634, allocations: 181.9 kB / 0.7657 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2634, allocations: 4 kB / 0.7657 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005372/0.2639, allocations: 260.9 kB / 0.7659 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.264, allocations: 63.48 kB / 0.766 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.264, allocations: 3.938 kB / 0.766 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.264, allocations: 0 / 0.766 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2641, allocations: 19.98 kB / 0.766 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2641, allocations: 0 / 0.766 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2643, allocations: 27.91 kB / 0.766 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2643, allocations: 7.938 kB / 0.766 GB, free: 10.64 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.000153/0.2644, allocations: 155.5 kB / 0.7662 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.2645, allocations: 7.953 kB / 0.7662 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.2645, allocations: 16.36 kB / 0.7662 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2645, allocations: 0 / 0.7662 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2645, allocations: 0 / 0.7662 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2645, allocations: 0 / 0.7662 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2647, allocations: 193.5 kB / 0.7664 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2647, allocations: 7.938 kB / 0.7664 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.2648, allocations: 12.23 kB / 0.7664 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2648, allocations: 0 / 0.7664 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2648, allocations: 12 kB / 0.7664 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2648, allocations: 0 / 0.7664 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2648, allocations: 0 / 0.7664 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.2653, allocations: 250.6 kB / 0.7667 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.2654, allocations: 85.05 kB / 0.7667 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.2654, allocations: 4 kB / 0.7668 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2655, allocations: 19.98 kB / 0.7668 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.2657, allocations: 35.95 kB / 0.7668 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.2657, allocations: 4 kB / 0.7668 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.2658, allocations: 101.2 kB / 0.7669 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2658, allocations: 0 / 0.7669 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002294/0.266, allocations: 31.94 kB / 0.7669 GB, free: 9.609 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.0001425/0.2662, allocations: 107.2 kB / 0.767 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.2667, allocations: 254.7 kB / 0.7673 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2667, allocations: 0 / 0.7673 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.2669, allocations: 131.3 kB / 0.7674 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2672, allocations: 21.39 kB / 0.7674 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.2678, allocations: 221.8 kB / 0.7676 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.2684, allocations: 0.6885 MB / 0.7683 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.2684, allocations: 11.98 kB / 0.7683 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.2685, allocations: 15.44 kB / 0.7683 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2685, allocations: 0 / 0.7683 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.005392/0.2739, allocations: 1.925 MB / 0.7702 GB, free: 6.172 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: 6.7651106379926205]