Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001711/0.001711, allocations: 176.3 kB / 17.46 MB, free: 4.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 223.6 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008169/0.0008168, allocations: 81.42 kB / 272 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0823/0.0823, allocations: 12.2 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004328, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09468, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/0.4047, allocations: 79.62 MB / 0.5104 GB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4049, allocations: 62.59 kB / 0.5104 GB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004997/0.4099, allocations: 2.161 MB / 0.5125 GB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.41, allocations: 0 / 0.5125 GB, free: 11.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.41, allocations: 3.75 kB / 0.5126 GB, free: 11.97 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003217/0.4103, allocations: 402 kB / 0.5129 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4103, allocations: 7.781 kB / 0.5129 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.4104, allocations: 16.62 kB / 0.513 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.4106, allocations: 207.8 kB / 0.5132 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4106, allocations: 8.344 kB / 0.5132 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.4106, allocations: 12.06 kB / 0.5132 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.411, allocations: 249 kB / 0.5134 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.411, allocations: 0 / 0.5134 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.411, allocations: 3.938 kB / 0.5134 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.411, allocations: 3.844 kB / 0.5134 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.4112, allocations: 53.78 kB / 0.5135 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.4115, allocations: 317.8 kB / 0.5138 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4117, allocations: 156.7 kB / 0.5139 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.4118, allocations: 92.69 kB / 0.514 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4119, allocations: 7.344 kB / 0.514 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.4119, allocations: 38.41 kB / 0.5141 GB, free: 10.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.4119, allocations: 0 / 0.5141 GB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003753/0.4123, allocations: 181.3 kB / 0.5142 GB, free: 10.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.4123, allocations: 117.6 kB / 0.5143 GB, free: 10.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.4124, allocations: 129.7 kB / 0.5145 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4124, allocations: 33.33 kB / 0.5145 GB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.4125, allocations: 94.88 kB / 0.5146 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.4125, allocations: 11.69 kB / 0.5146 GB, free: 10.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.4125, allocations: 0 / 0.5146 GB, free: 10.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.4126, allocations: 325.4 kB / 0.5149 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.4126, allocations: 30.69 kB / 0.5149 GB, free: 9.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.4127, allocations: 139.4 kB / 0.5151 GB, free: 9.805 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4129, allocations: 173.5 kB / 0.5152 GB, free: 9.641 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4129, allocations: 3.906 kB / 0.5152 GB, free: 9.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002186/0.4131, allocations: 173.9 kB / 0.5154 GB, free: 9.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4131, allocations: 7.438 kB / 0.5154 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.4131, allocations: 3.969 kB / 0.5154 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4132, allocations: 3.5 kB / 0.5154 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4133, allocations: 46.53 kB / 0.5155 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4133, allocations: 7.719 kB / 0.5155 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.4134, allocations: 16.47 kB / 0.5155 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4134, allocations: 11.72 kB / 0.5155 GB, free: 9.539 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (fixedDelay.first,$CLKPRE.fixedDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fixedDelay.first,fixedDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/0.4135, allocations: 137.8 kB / 0.5156 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4136, allocations: 116.3 kB / 0.5157 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.4137, allocations: 28.44 kB / 0.5158 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4137, allocations: 3.938 kB / 0.5158 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4137, allocations: 3.781 kB / 0.5158 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4137, allocations: 0 / 0.5158 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4138, allocations: 196 kB / 0.516 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4138, allocations: 0 / 0.516 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4139, allocations: 43 kB / 0.516 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4139, allocations: 3.844 kB / 0.516 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.414, allocations: 3.312 kB / 0.516 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.414, allocations: 3.938 kB / 0.516 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.414, allocations: 3.844 kB / 0.516 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.4142, allocations: 252.8 kB / 0.5163 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.4142, allocations: 88.88 kB / 0.5163 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.4142, allocations: 6.906 kB / 0.5164 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.4143, allocations: 7.906 kB / 0.5164 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.4144, allocations: 3.938 kB / 0.5164 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4144, allocations: 7.375 kB / 0.5164 GB, free: 8.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.4144, allocations: 102.6 kB / 0.5165 GB, free: 8.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4144, allocations: 0 / 0.5165 GB, free: 8.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.4147, allocations: 27 kB / 0.5165 GB, free: 8.738 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fixedDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fixedDelay.u_buffer[1],fixedDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.819e-05/0.4148, allocations: 94.59 kB / 0.5166 GB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.415, allocations: 111.1 kB / 0.5167 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.415, allocations: 7.969 kB / 0.5167 GB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.4151, allocations: 7.844 kB / 0.5167 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4154, allocations: 84.72 kB / 0.5168 GB, free: 8.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.4159, allocations: 314.4 kB / 0.5171 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.416, allocations: 0.7151 MB / 0.5178 GB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.4161, allocations: 14.31 kB / 0.5178 GB, free: 7.625 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4161, allocations: 3.625 kB / 0.5178 GB, free: 7.625 MB / 330.7 MB Notification: Performance of Templates: time 0.002258/0.4183, allocations: 1.388 MB / 0.5192 GB, free: 6.926 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)