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.001384/0.001384, allocations: 101.3 kB / 15.73 MB, free: 436 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.001552/0.001552, allocations: 173.8 kB / 16.61 MB, free: 6.422 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.547/1.547, allocations: 205.4 MB / 222.8 MB, free: 5.668 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.08/0.08, allocations: 12.61 MB / 283.7 MB, free: 8.703 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.001189/0.001189, allocations: 16 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 50.38 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.002155/0.1306, allocations: 1.475 MB / 396.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1318, allocations: 0.6713 MB / 397 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1319, allocations: 0 / 397 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1322, allocations: 15.86 kB / 397.1 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.675e-05/0.1323, allocations: 31.89 kB / 397.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.1328, allocations: 127.6 kB / 397.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1329, allocations: 59.88 kB / 397.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1331, allocations: 45.02 kB / 397.3 MB, free: 368 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.1332, allocations: 27.86 kB / 397.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1333, allocations: 35.78 kB / 397.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1333, allocations: 0 / 397.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.1333, allocations: 4 kB / 397.4 MB, free: 300 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.1334, allocations: 15.92 kB / 397.4 MB, free: 284 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1334, allocations: 37.64 kB / 397.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.597e-05/0.1335, allocations: 56.17 kB / 397.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1335, allocations: 0 / 397.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1335, allocations: 0 / 397.5 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1335, allocations: 4 kB / 397.5 MB, free: 180 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.0004595/0.134, allocations: 387.1 kB / 397.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1341, allocations: 12.03 kB / 397.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1341, allocations: 11.81 kB / 397.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1343, allocations: 211 kB / 398.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1343, allocations: 4.188 kB / 398.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1344, allocations: 8 kB / 398.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.1348, allocations: 246.8 kB / 398.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1348, allocations: 0 / 398.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1349, allocations: 4 kB / 398.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1349, allocations: 11.95 kB / 398.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.135, allocations: 55.84 kB / 398.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1354, allocations: 302.5 kB / 398.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1356, allocations: 151.7 kB / 398.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1356, allocations: 0 / 398.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1357, allocations: 42.52 kB / 398.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.1357, allocations: 4 kB / 398.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003873/0.1361, allocations: 177.7 kB / 399.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1361, allocations: 114.8 kB / 399.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1363, allocations: 141 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1363, allocations: 29.95 kB / 399.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.1363, allocations: 92.14 kB / 399.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1364, allocations: 15.89 kB / 399.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.1364, allocations: 7.938 kB / 399.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1365, allocations: 326.8 kB / 399.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.1366, allocations: 23.98 kB / 399.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1367, allocations: 130.6 kB / 399.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.425e-05/0.1368, allocations: 51.92 kB / 400 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1368, allocations: 3.953 kB / 400 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002603/0.1371, allocations: 177.5 kB / 400.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1371, allocations: 8 kB / 400.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1371, allocations: 4 kB / 400.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1371, allocations: 4 kB / 400.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1373, allocations: 35.92 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1373, allocations: 7.984 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.1374, allocations: 19.84 kB / 400.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1374, allocations: 8 kB / 400.3 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 (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.0001793/0.1376, allocations: 141.7 kB / 400.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.1378, allocations: 117.5 kB / 400.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.1378, allocations: 12.84 kB / 400.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1378, allocations: 7.984 kB / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1378, allocations: 0 / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1379, allocations: 0 / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1381, allocations: 197.5 kB / 400.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1381, allocations: 4 kB / 400.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.1382, allocations: 31.94 kB / 400.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1382, allocations: 8.031 kB / 400.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1382, allocations: 0 / 400.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1382, allocations: 11.92 kB / 400.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1382, allocations: 0 / 400.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.1386, allocations: 268.4 kB / 401 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1386, allocations: 89.02 kB / 401.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1386, allocations: 4 kB / 401.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.1387, allocations: 11.98 kB / 401.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1388, allocations: 0 / 401.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1388, allocations: 4 kB / 401.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.791e-05/0.1389, allocations: 107.9 kB / 401.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1389, allocations: 4 kB / 401.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1391, allocations: 23.94 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.0001188/0.1393, allocations: 107.2 kB / 401.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1395, allocations: 108.7 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1395, allocations: 4.062 kB / 401.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.1396, allocations: 11.98 kB / 401.5 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.0003046/0.1399, allocations: 75.83 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.0004937/0.1404, allocations: 287.5 kB / 401.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1407, allocations: 0.7164 MB / 402.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.326e-05/0.1408, allocations: 17.08 kB / 402.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.1408, allocations: 11.44 kB / 402.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1408, allocations: 0 / 402.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Templates: time 0.003234/0.1441, allocations: 0.926 MB / 403.5 MB, free: 9.633 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: