Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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-master/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-master/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_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.001301/0.001302, allocations: 179.7 kB / 15.8 MB, free: 6.34 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.641/1.641, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009419/0.0009418, allocations: 90.86 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0628/0.0628, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003759, allocations: 15.53 kB / 392 MB, free: 54.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08811, allocations: 50.37 MB / 442.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.1943, allocations: 79.66 MB / 0.5098 GB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.1945, allocations: 59.97 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005782/0.2003, allocations: 2.166 MB / 0.512 GB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2003, allocations: 0 / 0.512 GB, free: 8.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.2004, allocations: 4 kB / 0.512 GB, free: 8.926 MB / 362.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.0004235/0.2008, allocations: 391.2 kB / 0.5123 GB, free: 8.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2008, allocations: 11.97 kB / 0.5124 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.2009, allocations: 15.81 kB / 0.5124 GB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2011, allocations: 203.3 kB / 0.5126 GB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2012, allocations: 12.14 kB / 0.5126 GB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2012, allocations: 8 kB / 0.5126 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.2016, allocations: 246.5 kB / 0.5128 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2016, allocations: 0 / 0.5128 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2016, allocations: 4 kB / 0.5128 GB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2017, allocations: 8 kB / 0.5128 GB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2018, allocations: 59.8 kB / 0.5129 GB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.2023, allocations: 314.5 kB / 0.5132 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.2025, allocations: 151.7 kB / 0.5133 GB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2025, allocations: 11.98 kB / 0.5133 GB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2026, allocations: 34.84 kB / 0.5134 GB, free: 7.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.2026, allocations: 0 / 0.5134 GB, free: 7.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003876/0.203, allocations: 181.4 kB / 0.5135 GB, free: 7.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.2031, allocations: 118.8 kB / 0.5137 GB, free: 6.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.2032, allocations: 124 kB / 0.5138 GB, free: 6.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2032, allocations: 33.7 kB / 0.5138 GB, free: 6.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2033, allocations: 92.14 kB / 0.5139 GB, free: 6.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2033, allocations: 23.77 kB / 0.5139 GB, free: 6.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.2033, allocations: 0 / 0.5139 GB, free: 6.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2034, allocations: 322.8 kB / 0.5142 GB, free: 6.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.2035, allocations: 27.98 kB / 0.5143 GB, free: 6.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.2036, allocations: 130.6 kB / 0.5144 GB, free: 6.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2038, allocations: 51.92 kB / 0.5144 GB, free: 6.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2038, allocations: 4 kB / 0.5144 GB, free: 6.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002651/0.2041, allocations: 177.4 kB / 0.5146 GB, free: 5.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2041, allocations: 11.95 kB / 0.5146 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2041, allocations: 4 kB / 0.5146 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2041, allocations: 4 kB / 0.5146 GB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2043, allocations: 39.91 kB / 0.5147 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2043, allocations: 4 kB / 0.5147 GB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.2044, allocations: 15.91 kB / 0.5147 GB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2044, allocations: 8.25 kB / 0.5147 GB, free: 5.828 MB / 362.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 0.000116/0.2045, allocations: 141.5 kB / 0.5148 GB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.2047, allocations: 117.5 kB / 0.5149 GB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.2047, allocations: 24.78 kB / 0.515 GB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2048, allocations: 0 / 0.515 GB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2048, allocations: 4 kB / 0.515 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2048, allocations: 0 / 0.515 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2049, allocations: 189.5 kB / 0.5151 GB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.205, allocations: 7.984 kB / 0.5151 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.2051, allocations: 35.95 kB / 0.5152 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2051, allocations: 0 / 0.5152 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2051, allocations: 8 kB / 0.5152 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.2051, allocations: 3.953 kB / 0.5152 GB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2051, allocations: 3.984 kB / 0.5152 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.2054, allocations: 269.5 kB / 0.5155 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.2055, allocations: 96.89 kB / 0.5155 GB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.2055, allocations: 8 kB / 0.5156 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.2056, allocations: 4 kB / 0.5156 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2056, allocations: 0 / 0.5156 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2056, allocations: 8 kB / 0.5156 GB, free: 4.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.2057, allocations: 109 kB / 0.5157 GB, free: 4.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2057, allocations: 3.938 kB / 0.5157 GB, free: 4.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.2059, allocations: 20 kB / 0.5157 GB, free: 4.676 MB / 362.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 0.0001142/0.2061, allocations: 99.25 kB / 0.5158 GB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.2064, allocations: 116.8 kB / 0.5159 GB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2064, allocations: 0 / 0.5159 GB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.2064, allocations: 4 kB / 0.5159 GB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2068, allocations: 76.86 kB / 0.516 GB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.2073, allocations: 295.4 kB / 0.5163 GB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2076, allocations: 0.7165 MB / 0.517 GB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.346e-05/0.2077, allocations: 17.08 kB / 0.517 GB, free: 3.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.2077, allocations: 15.44 kB / 0.517 GB, free: 3.285 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2077, allocations: 0 / 0.517 GB, free: 3.285 MB / 362.7 MB Notification: Performance of Templates: time 0.002898/0.2106, allocations: 0.9325 MB / 0.5179 GB, free: 2.359 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)