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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 110.4 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8417/0.8417, allocations: 135.2 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 66.17 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1418, allocations: 80.93 MB / 0.6653 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002483/0.1443, allocations: 1.461 MB / 0.6668 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.1451, allocations: 462.8 kB / 0.6672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.1452, allocations: 7.938 kB / 0.6672 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.266e-05/0.1453, allocations: 3.938 kB / 0.6672 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.1453, allocations: 11.86 kB / 0.6672 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.1455, allocations: 43.94 kB / 0.6673 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1457, allocations: 103.7 kB / 0.6674 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1458, allocations: 12.17 kB / 0.6674 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1459, allocations: 47.83 kB / 0.6674 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.146, allocations: 43.83 kB / 0.6675 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1461, allocations: 8 kB / 0.6675 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.1461, allocations: 8 kB / 0.6675 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.1461, allocations: 11.98 kB / 0.6675 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.1462, allocations: 43.8 kB / 0.6675 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1464, allocations: 83.69 kB / 0.6676 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1464, allocations: 0 / 0.6676 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.125e-06/0.1464, allocations: 7.938 kB / 0.6676 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1464, allocations: 0 / 0.6676 GB, free: 3.559 MB / 0.4981 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.0007082/0.1471, allocations: 446.5 kB / 0.668 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1471, allocations: 13.11 kB / 0.668 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1472, allocations: 8.891 kB / 0.6681 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1474, allocations: 192.2 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1474, allocations: 12.38 kB / 0.6683 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1474, allocations: 4.375 kB / 0.6683 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.1477, allocations: 125.7 kB / 0.6684 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1478, allocations: 0 / 0.6684 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1478, allocations: 0 / 0.6684 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1478, allocations: 4 kB / 0.6684 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.1481, allocations: 87.92 kB / 0.6685 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.1486, allocations: 324.8 kB / 0.6688 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.149, allocations: 110.4 kB / 0.6689 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1492, allocations: 72.94 kB / 0.6689 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1492, allocations: 4 kB / 0.669 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.1495, allocations: 131.2 kB / 0.6691 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1495, allocations: 0 / 0.6691 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007216/0.1503, allocations: 275.2 kB / 0.6693 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1503, allocations: 81.11 kB / 0.6694 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1505, allocations: 136.5 kB / 0.6695 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1505, allocations: 29.7 kB / 0.6696 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.1506, allocations: 100.1 kB / 0.6697 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.1506, allocations: 15.91 kB / 0.6697 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.1507, allocations: 33.7 kB / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1508, allocations: 318.8 kB / 0.67 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.151, allocations: 71.94 kB / 0.6701 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.1512, allocations: 63.95 kB / 0.6702 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.1516, allocations: 185.9 kB / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1516, allocations: 0 / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005138/0.1521, allocations: 265 kB / 0.6706 GB, free: 240 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.1522, allocations: 63.41 kB / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1522, allocations: 0 / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1522, allocations: 0 / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1523, allocations: 19.92 kB / 0.6707 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1523, allocations: 0 / 0.6707 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1525, allocations: 27.92 kB / 0.6707 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1525, allocations: 8.156 kB / 0.6707 GB, free: 108 kB / 0.4981 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.0001461/0.1527, allocations: 159.5 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.1527, allocations: 7.953 kB / 0.6709 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1527, allocations: 12.36 kB / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1527, allocations: 4 kB / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1527, allocations: 0 / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1527, allocations: 0 / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1529, allocations: 197.5 kB / 0.6711 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1529, allocations: 0 / 0.6711 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.153, allocations: 15.98 kB / 0.6711 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.153, allocations: 3.984 kB / 0.6711 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.153, allocations: 4 kB / 0.6711 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.153, allocations: 256 / 0.6711 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1531, allocations: 3.984 kB / 0.6711 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.1536, allocations: 258.6 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.1536, allocations: 85 kB / 0.6714 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1537, allocations: 8 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1538, allocations: 19.97 kB / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1539, allocations: 35.97 kB / 0.6715 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.154, allocations: 3.984 kB / 0.6715 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.342e-05/0.154, allocations: 99.27 kB / 0.6716 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.154, allocations: 0 / 0.6716 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002061/0.1543, allocations: 27.94 kB / 0.6716 GB, free: 15.07 MB / 0.5137 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.0001093/0.1544, allocations: 103.2 kB / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.1549, allocations: 266.6 kB / 0.672 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1549, allocations: 0 / 0.672 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.1552, allocations: 135.3 kB / 0.6721 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.1554, allocations: 19.94 kB / 0.6721 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.1559, allocations: 227.1 kB / 0.6723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1562, allocations: 0.6923 MB / 0.673 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.741e-05/0.1563, allocations: 7.75 kB / 0.673 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1563, allocations: 23.42 kB / 0.673 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1563, allocations: 0 / 0.673 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of Templates: time 0.004595/0.1609, allocations: 1.858 MB / 0.6748 GB, free: 11.66 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)