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.009258/0.009258, allocations: 89.03 kB / 15.91 MB, free: 6.285 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.001773/0.001773, allocations: 197.3 kB / 16.83 MB, free: 6.215 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.813/1.813, allocations: 205.1 MB / 222.7 MB, free: 4.945 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.07631/0.07631, allocations: 12.59 MB / 282.6 MB, free: 9.09 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.00166/0.00166, allocations: 83.89 kB / 342.8 MB, free: 21.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1092, allocations: 49.39 MB / 392.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.002774/0.112, allocations: 1.87 MB / 394 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1131, allocations: 0.7098 MB / 394.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1132, allocations: 0 / 394.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1134, allocations: 19.86 kB / 394.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.1134, allocations: 11.94 kB / 394.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1136, allocations: 59.88 kB / 394.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1138, allocations: 95.7 kB / 394.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1139, allocations: 60.81 kB / 395 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.114, allocations: 35.84 kB / 395 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.1141, allocations: 39.78 kB / 395.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1141, allocations: 7.938 kB / 395.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.1142, allocations: 4 kB / 395.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.1142, allocations: 23.92 kB / 395.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.1143, allocations: 39.67 kB / 395.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1144, allocations: 91.91 kB / 395.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1144, allocations: 0 / 395.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1144, allocations: 0 / 395.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.145e-06/0.1144, allocations: 0 / 395.2 MB, free: 0.668 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.0004281/0.1148, allocations: 399.3 kB / 395.6 MB, free: 236 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1149, allocations: 11.97 kB / 395.6 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.1149, allocations: 12.75 kB / 395.6 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1151, allocations: 204.5 kB / 395.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1152, allocations: 12.5 kB / 395.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1152, allocations: 12.12 kB / 395.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.1156, allocations: 253.2 kB / 396.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.1156, allocations: 0 / 396.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1156, allocations: 0 / 396.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1156, allocations: 4 kB / 396.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1158, allocations: 51.89 kB / 396.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1161, allocations: 314.4 kB / 396.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.1164, allocations: 155.7 kB / 396.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1165, allocations: 94.67 kB / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1165, allocations: 0 / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1166, allocations: 46.44 kB / 396.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 9.92e-07/0.1166, allocations: 0 / 396.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003737/0.117, allocations: 181.6 kB / 396.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.117, allocations: 114.8 kB / 397.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.1171, allocations: 133 kB / 397.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1172, allocations: 25.7 kB / 397.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.1172, allocations: 96.08 kB / 397.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1172, allocations: 19.83 kB / 397.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1173, allocations: 37.86 kB / 397.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1174, allocations: 322.8 kB / 397.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.1175, allocations: 23.98 kB / 397.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1176, allocations: 130.6 kB / 397.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1178, allocations: 170.3 kB / 398 MB, free: 13.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1178, allocations: 7.938 kB / 398 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002669/0.1181, allocations: 177.1 kB / 398.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1181, allocations: 4 kB / 398.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1181, allocations: 4 kB / 398.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1181, allocations: 11.94 kB / 398.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1183, allocations: 31.98 kB / 398.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1183, allocations: 8.469 kB / 398.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.718e-05/0.1184, allocations: 16 kB / 398.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1184, allocations: 11.98 kB / 398.3 MB, free: 13.25 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.0001536/0.1185, allocations: 133.7 kB / 398.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.1187, allocations: 117.4 kB / 398.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.1187, allocations: 20.78 kB / 398.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1188, allocations: 0 / 398.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1188, allocations: 4 kB / 398.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1188, allocations: 0 / 398.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.119, allocations: 193.5 kB / 398.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.119, allocations: 8.031 kB / 398.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.1191, allocations: 23.98 kB / 398.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1191, allocations: 4 kB / 398.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1191, allocations: 3.938 kB / 398.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1191, allocations: 4 kB / 398.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1191, allocations: 0 / 398.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1194, allocations: 252.9 kB / 399 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.1195, allocations: 92.94 kB / 399.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1195, allocations: 7.938 kB / 399.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1196, allocations: 4 kB / 399.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.1196, allocations: 0 / 399.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1197, allocations: 8 kB / 399.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.1197, allocations: 104.3 kB / 399.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1197, allocations: 3.938 kB / 399.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.12, allocations: 16 kB / 399.2 MB, free: 12.17 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.0001073/0.1201, allocations: 107.2 kB / 399.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1204, allocations: 101.1 kB / 399.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1204, allocations: 1.062 kB / 399.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.1204, allocations: 15.92 kB / 399.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1208, allocations: 72.02 kB / 399.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.1213, allocations: 291.1 kB / 399.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1216, allocations: 0.7126 MB / 400.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.1217, allocations: 9.078 kB / 400.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.1217, allocations: 19.44 kB / 400.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1217, allocations: 4 kB / 400.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of Templates: time 0.003254/0.125, allocations: 0.9851 MB / 401.5 MB, free: 9.797 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)