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/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 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 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001486, allocations: 102.9 kB / 16.03 MB, free: 6.324 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.001713/0.001712, allocations: 191.5 kB / 16.95 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 222.8 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08228/0.08228, allocations: 12.6 MB / 282.7 MB, free: 8.773 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 91.84 kB / 343 MB, free: 21.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1267, allocations: 49.4 MB / 392.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.004038/0.1308, allocations: 1.863 MB / 394.2 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1323, allocations: 0.7137 MB / 394.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1325, allocations: 4 kB / 395 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.1329, allocations: 23.8 kB / 395 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.1329, allocations: 3.938 kB / 395 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.1333, allocations: 55.89 kB / 395 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1335, allocations: 103.8 kB / 395.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1337, allocations: 68.75 kB / 395.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1338, allocations: 39.84 kB / 395.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1339, allocations: 43.78 kB / 395.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.134, allocations: 8 kB / 395.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.134, allocations: 4 kB / 395.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.1341, allocations: 27.86 kB / 395.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.1341, allocations: 43.72 kB / 395.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1343, allocations: 91.92 kB / 395.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1343, allocations: 0 / 395.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1343, allocations: 4 kB / 395.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1343, allocations: 0 / 395.5 MB, free: 0.4922 MB / 286.1 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.0005732/0.1349, allocations: 399.2 kB / 395.9 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1349, allocations: 12.03 kB / 395.9 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.135, allocations: 16.73 kB / 395.9 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1353, allocations: 201.3 kB / 396.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1353, allocations: 8.562 kB / 396.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1353, allocations: 16.12 kB / 396.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.1358, allocations: 241.4 kB / 396.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1359, allocations: 4 kB / 396.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1359, allocations: 4 kB / 396.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1359, allocations: 0 / 396.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.136, allocations: 51.91 kB / 396.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1364, allocations: 314.3 kB / 396.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1367, allocations: 151.7 kB / 396.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1369, allocations: 82.61 kB / 396.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.1369, allocations: 4 kB / 396.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.137, allocations: 46.55 kB / 397 MB, free: 14.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 4.148e-06/0.137, allocations: 3.984 kB / 397 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004717/0.1375, allocations: 177.5 kB / 397.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1376, allocations: 114.8 kB / 397.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1377, allocations: 137.3 kB / 397.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1378, allocations: 33.7 kB / 397.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.1378, allocations: 92.14 kB / 397.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1379, allocations: 15.83 kB / 397.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.1379, allocations: 33.7 kB / 397.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1381, allocations: 322.8 kB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.1381, allocations: 27.98 kB / 397.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1383, allocations: 130.5 kB / 398 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.1386, allocations: 170.4 kB / 398.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1386, allocations: 4 kB / 398.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002778/0.1389, allocations: 177.1 kB / 398.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1389, allocations: 8.531 kB / 398.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1389, allocations: 8 kB / 398.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.139, allocations: 7.938 kB / 398.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1391, allocations: 35.92 kB / 398.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1391, allocations: 4 kB / 398.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.1392, allocations: 11.98 kB / 398.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1393, allocations: 15.98 kB / 398.5 MB, free: 13.09 MB / 302.1 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 ($CLKPRE.fixedDelay.first,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.1395, allocations: 133.7 kB / 398.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.1396, allocations: 121.4 kB / 398.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.1397, allocations: 20.81 kB / 398.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1397, allocations: 4 kB / 398.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1397, allocations: 0 / 398.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1397, allocations: 3.984 kB / 398.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1399, allocations: 189.6 kB / 398.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1399, allocations: 0 / 398.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.1401, allocations: 31.92 kB / 399 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1401, allocations: 0 / 399 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1401, allocations: 11.94 kB / 399 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1401, allocations: 0 / 399 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1401, allocations: 0 / 399 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1404, allocations: 248.9 kB / 399.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1404, allocations: 88.95 kB / 399.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1405, allocations: 11.94 kB / 399.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1405, allocations: 11.94 kB / 399.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1406, allocations: 4 kB / 399.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1406, allocations: 7.984 kB / 399.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.799e-05/0.1407, allocations: 100 kB / 399.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1407, allocations: 0 / 399.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1409, allocations: 20 kB / 399.5 MB, free: 12 MB / 302.1 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 (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.0001429/0.1411, allocations: 91.25 kB / 399.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1414, allocations: 120.6 kB / 399.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.1414, allocations: 3.938 kB / 399.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.1414, allocations: 19.86 kB / 399.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1419, allocations: 68.94 kB / 399.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.1426, allocations: 293.8 kB / 400 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1429, allocations: 0.7084 MB / 400.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.143, allocations: 17.08 kB / 400.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.143, allocations: 19.44 kB / 400.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.143, allocations: 0 / 400.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of Templates: time 0.003935/0.147, allocations: 1.047 MB / 401.8 MB, free: 9.555 MB / 302.1 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)