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-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_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.003194/0.003201, allocations: 189.5 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.906/3.906, allocations: 205.4 MB / 222.6 MB, free: 13.84 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.001854/0.001854, allocations: 98.8 kB / 270.9 MB, free: 13.36 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.1999/0.1999, allocations: 12.59 MB / 331.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009972/0.0009981, allocations: 17.02 kB / 392 MB, free: 54.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1687, allocations: 50.37 MB / 442.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.003413/0.1722, allocations: 1.48 MB / 443.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1746, allocations: 0.6674 MB / 444.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.1749, allocations: 4 kB / 444.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1753, allocations: 19.8 kB / 444.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1755, allocations: 23.89 kB / 444.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1765, allocations: 121.5 kB / 444.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.1769, allocations: 75.77 kB / 444.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1771, allocations: 41.02 kB / 444.8 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1774, allocations: 27.86 kB / 444.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1776, allocations: 35.72 kB / 444.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1777, allocations: 4 kB / 444.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.1777, allocations: 0 / 444.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.1778, allocations: 23.92 kB / 444.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.1779, allocations: 33.7 kB / 444.9 MB, free: 9.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1783, allocations: 51.88 kB / 444.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.1784, allocations: 4 kB / 444.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1784, allocations: 3.938 kB / 445 MB, free: 8.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1785, allocations: 0 / 445 MB, free: 8.977 MB / 282.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.0007775/0.1792, allocations: 378.9 kB / 445.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.1793, allocations: 8.031 kB / 445.3 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.1794, allocations: 19.81 kB / 445.3 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.1798, allocations: 203 kB / 445.5 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.1799, allocations: 4.188 kB / 445.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.1799, allocations: 12 kB / 445.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008096/0.1807, allocations: 258.4 kB / 445.8 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1808, allocations: 0 / 445.8 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1808, allocations: 4 kB / 445.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1809, allocations: 7.953 kB / 445.8 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.1813, allocations: 47.97 kB / 445.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.182, allocations: 306.4 kB / 446.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1825, allocations: 151.7 kB / 446.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.1826, allocations: 8.062 kB / 446.3 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1826, allocations: 34.52 kB / 446.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 4.549e-06/0.1827, allocations: 0 / 446.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007497/0.1834, allocations: 194.2 kB / 446.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.1835, allocations: 110.8 kB / 446.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1837, allocations: 132.7 kB / 446.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1838, allocations: 29.7 kB / 446.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1838, allocations: 158.5 kB / 447 MB, free: 6.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.1839, allocations: 15.89 kB / 447 MB, free: 6.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.1839, allocations: 4 kB / 447 MB, free: 6.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.184, allocations: 322.9 kB / 447.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1842, allocations: 23.98 kB / 447.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1844, allocations: 134.5 kB / 447.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1846, allocations: 47.92 kB / 447.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.1846, allocations: 3.953 kB / 447.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005549/0.1852, allocations: 169.3 kB / 447.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.1852, allocations: 4 kB / 447.7 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.1853, allocations: 7.938 kB / 447.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.1853, allocations: 8.531 kB / 447.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1856, allocations: 39.91 kB / 447.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.1857, allocations: 11.94 kB / 447.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.1859, allocations: 15.84 kB / 447.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.186, allocations: 12 kB / 447.8 MB, free: 5.844 MB / 282.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.0002378/0.1862, allocations: 141.5 kB / 447.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.1866, allocations: 113.4 kB / 448 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.429e-05/0.1867, allocations: 20.83 kB / 448 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1867, allocations: 0 / 448 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.1868, allocations: 8.031 kB / 448.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.1868, allocations: 3.938 kB / 448.1 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.1871, allocations: 189.6 kB / 448.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.1872, allocations: 4 kB / 448.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.1875, allocations: 35.88 kB / 448.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.1875, allocations: 3.984 kB / 448.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1875, allocations: 4 kB / 448.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1876, allocations: 0 / 448.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1876, allocations: 0 / 448.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.1883, allocations: 276.4 kB / 448.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.1884, allocations: 92.92 kB / 448.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.1885, allocations: 3.984 kB / 448.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.1888, allocations: 12 kB / 448.7 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.189, allocations: 4 kB / 448.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.189, allocations: 4 kB / 448.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1892, allocations: 101.1 kB / 448.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1892, allocations: 0 / 448.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008164/0.1901, allocations: 19.94 kB / 448.8 MB, free: 4.711 MB / 282.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.0002067/0.1903, allocations: 111.2 kB / 448.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.191, allocations: 103.8 kB / 449 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.191, allocations: 0 / 449 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1911, allocations: 13 kB / 449 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.1919, allocations: 75.89 kB / 449.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1931, allocations: 309.2 kB / 449.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1934, allocations: 0.7204 MB / 450.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.1935, allocations: 19.38 kB / 450.1 MB, free: 3.301 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1936, allocations: 3.938 kB / 450.1 MB, free: 3.297 MB / 282.7 MB Notification: Performance of Templates: time 0.005997/0.1996, allocations: 1.366 MB / 451.5 MB, free: 1.938 MB / 282.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)