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.0008198/0.0008198, allocations: 177.1 kB / 16.45 MB, free: 5.684 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.467/1.467, allocations: 205.4 MB / 222.6 MB, free: 9.098 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.0007637/0.0007638, allocations: 96.92 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08099/0.08099, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004244, allocations: 15.98 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.001723/0.1049, allocations: 1.476 MB / 444.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.1059, allocations: 0.6752 MB / 445.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.106, allocations: 7.938 kB / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1063, allocations: 23.84 kB / 445.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.616e-05/0.1063, allocations: 3.938 kB / 445.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1066, allocations: 55.88 kB / 445.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1067, allocations: 95.72 kB / 445.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1068, allocations: 45 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.1069, allocations: 23.86 kB / 445.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.107, allocations: 27.8 kB / 445.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.107, allocations: 4 kB / 445.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.1071, allocations: 0 / 445.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.1071, allocations: 27.91 kB / 445.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.1072, allocations: 41.58 kB / 445.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.042e-05/0.1073, allocations: 56.17 kB / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1073, allocations: 0 / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1073, allocations: 0 / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1073, allocations: 0 / 445.6 MB, free: 13.21 MB / 298.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.0004337/0.1077, allocations: 387.1 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1078, allocations: 8.031 kB / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.1078, allocations: 19.81 kB / 446 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.108, allocations: 207 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.108, allocations: 8.188 kB / 446.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1081, allocations: 8 kB / 446.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.1085, allocations: 242.8 kB / 446.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1085, allocations: 0 / 446.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1085, allocations: 0 / 446.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1085, allocations: 7.953 kB / 446.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1086, allocations: 55.91 kB / 446.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.1089, allocations: 302.5 kB / 446.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1092, allocations: 151.7 kB / 447 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1093, allocations: 98.53 kB / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1093, allocations: 3.953 kB / 447.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.1094, allocations: 42.5 kB / 447.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.193e-06/0.1094, allocations: 0 / 447.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003567/0.1097, allocations: 179.2 kB / 447.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.1098, allocations: 122.8 kB / 447.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.1099, allocations: 132.9 kB / 447.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1099, allocations: 29.7 kB / 447.6 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.11, allocations: 92.14 kB / 447.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.11, allocations: 12.05 kB / 447.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.11, allocations: 8 kB / 447.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.1101, allocations: 322.8 kB / 448 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.1101, allocations: 27.98 kB / 448 MB, free: 10.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.1102, allocations: 130.6 kB / 448.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.1103, allocations: 51.88 kB / 448.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1103, allocations: 4 kB / 448.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000224/0.1106, allocations: 173.7 kB / 448.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1106, allocations: 8 kB / 448.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1106, allocations: 8.031 kB / 448.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1106, allocations: 4 kB / 448.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1108, allocations: 39.91 kB / 448.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1108, allocations: 4 kB / 448.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.1109, allocations: 19.84 kB / 448.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1109, allocations: 12 kB / 448.4 MB, free: 10.03 MB / 298.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.0001136/0.111, allocations: 142.3 kB / 448.6 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.1111, allocations: 126 kB / 448.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.1112, allocations: 16.83 kB / 448.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1112, allocations: 7.984 kB / 448.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1112, allocations: 0 / 448.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1112, allocations: 4 kB / 448.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1113, allocations: 189.5 kB / 448.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1114, allocations: 3.953 kB / 448.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1115, allocations: 31.92 kB / 449 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1115, allocations: 4 kB / 449 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1115, allocations: 7.984 kB / 449 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1115, allocations: 8.031 kB / 449 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1115, allocations: 0 / 449 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1117, allocations: 241 kB / 449.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.1118, allocations: 96.84 kB / 449.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1118, allocations: 8 kB / 449.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.1119, allocations: 15.92 kB / 449.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.1119, allocations: 0 / 449.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1119, allocations: 4 kB / 449.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.112, allocations: 105.7 kB / 449.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.112, allocations: 4 kB / 449.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.1122, allocations: 16 kB / 449.5 MB, free: 8.914 MB / 298.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.868e-05/0.1123, allocations: 99.25 kB / 449.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1125, allocations: 111.8 kB / 449.7 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1125, allocations: 0 / 449.7 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.1126, allocations: 9.062 kB / 449.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.113, allocations: 80.09 kB / 449.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1134, allocations: 313.1 kB / 450.1 MB, free: 8.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.1136, allocations: 0.7165 MB / 450.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.1136, allocations: 15.44 kB / 450.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1136, allocations: 0 / 450.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of Templates: time 0.002433/0.1161, allocations: 1.381 MB / 452.2 MB, free: 6.129 MB / 298.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)