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.001014/0.001015, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 177.4 kB / 16.63 MB, free: 6.887 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.847/1.847, allocations: 205.4 MB / 222.8 MB, free: 5.875 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.08688/0.08688, allocations: 12.6 MB / 283.7 MB, free: 8.926 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.0007185/0.0007187, allocations: 20 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1067, allocations: 50.38 MB / 394.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.001881/0.1086, allocations: 1.481 MB / 396.4 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.1096, allocations: 0.6714 MB / 397.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.1097, allocations: 4 kB / 397.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.1099, allocations: 23.8 kB / 397.1 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.1099, allocations: 11.88 kB / 397.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.1102, allocations: 59.92 kB / 397.2 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1103, allocations: 91.7 kB / 397.3 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1104, allocations: 37.03 kB / 397.3 MB, free: 440 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.1105, allocations: 31.84 kB / 397.3 MB, free: 408 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.1106, allocations: 27.8 kB / 397.3 MB, free: 380 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1106, allocations: 4 kB / 397.3 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.1106, allocations: 4 kB / 397.4 MB, free: 372 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.1107, allocations: 15.92 kB / 397.4 MB, free: 356 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.1107, allocations: 37.64 kB / 397.4 MB, free: 312 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.368e-05/0.1108, allocations: 56.17 kB / 397.5 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1108, allocations: 0 / 397.5 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1108, allocations: 0 / 397.5 MB, free: 256 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1108, allocations: 0 / 397.5 MB, free: 256 kB / 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.0004141/0.1112, allocations: 391.2 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1113, allocations: 12.03 kB / 397.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1113, allocations: 11.81 kB / 397.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1115, allocations: 208.2 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1115, allocations: 8.188 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1116, allocations: 11.94 kB / 398.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.112, allocations: 242.8 kB / 398.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.112, allocations: 7.984 kB / 398.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.112, allocations: 4 kB / 398.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.112, allocations: 3.953 kB / 398.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1121, allocations: 55.91 kB / 398.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.1125, allocations: 302.5 kB / 398.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1127, allocations: 151.7 kB / 398.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1128, allocations: 90.61 kB / 398.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1129, allocations: 11.89 kB / 398.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1129, allocations: 38.5 kB / 399 MB, free: 14.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.1129, allocations: 4 kB / 399 MB, free: 14.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003706/0.1133, allocations: 177.6 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.1134, allocations: 118.8 kB / 399.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.1135, allocations: 133 kB / 399.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1135, allocations: 29.95 kB / 399.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1135, allocations: 96.14 kB / 399.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1136, allocations: 15.89 kB / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.1136, allocations: 0 / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.1137, allocations: 326.8 kB / 399.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.1138, allocations: 27.98 kB / 399.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1139, allocations: 130.6 kB / 400 MB, free: 13.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.114, allocations: 59.88 kB / 400.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.114, allocations: 0 / 400.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002839/0.1143, allocations: 177.6 kB / 400.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1143, allocations: 7.938 kB / 400.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.1143, allocations: 4 kB / 400.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1144, allocations: 8 kB / 400.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1145, allocations: 31.92 kB / 400.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.1145, allocations: 11.98 kB / 400.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.1146, allocations: 15.84 kB / 400.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1146, allocations: 12 kB / 400.3 MB, free: 13.05 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 (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.0001357/0.1148, allocations: 141.6 kB / 400.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.1149, allocations: 113.5 kB / 400.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.115, allocations: 16.84 kB / 400.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.115, allocations: 0 / 400.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.115, allocations: 7.984 kB / 400.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.115, allocations: 0 / 400.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1152, allocations: 193.5 kB / 400.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1152, allocations: 7.953 kB / 400.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1153, allocations: 31.98 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1154, allocations: 4.031 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1154, allocations: 4 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1154, allocations: 4 kB / 400.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1154, allocations: 7.922 kB / 400.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1157, allocations: 249 kB / 401.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.1157, allocations: 92.91 kB / 401.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1158, allocations: 0 / 401.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1158, allocations: 8 kB / 401.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1159, allocations: 7.984 kB / 401.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1159, allocations: 4 kB / 401.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.116, allocations: 107.9 kB / 401.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.116, allocations: 0 / 401.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1162, allocations: 16 kB / 401.3 MB, free: 11.95 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 (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.0001224/0.1164, allocations: 107.2 kB / 401.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1166, allocations: 103.8 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1166, allocations: 1.062 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.1167, allocations: 15.98 kB / 401.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.1171, allocations: 75.94 kB / 401.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.1176, allocations: 288 kB / 401.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1179, allocations: 0.7126 MB / 402.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.486e-05/0.118, allocations: 9.078 kB / 402.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.118, allocations: 19.44 kB / 402.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.118, allocations: 0 / 402.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Templates: time 0.003463/0.1215, allocations: 0.9298 MB / 403.6 MB, free: 9.637 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: