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.001645/0.001645, allocations: 107.7 kB / 16.45 MB, free: 6.434 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.001624/0.001624, allocations: 186.4 kB / 17.39 MB, free: 5.691 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.826/1.826, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07606/0.07606, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.001753/0.001753, allocations: 82.75 kB / 394.2 MB, free: 45.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1081, allocations: 49.4 MB / 443.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.003123/0.1113, allocations: 1.801 MB / 445.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1128, allocations: 0.7254 MB / 446.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.113, allocations: 0 / 446.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1134, allocations: 35.72 kB / 446.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.1134, allocations: 15.86 kB / 446.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1138, allocations: 59.88 kB / 446.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1141, allocations: 107.7 kB / 446.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.1143, allocations: 72.73 kB / 446.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1144, allocations: 43.78 kB / 446.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1146, allocations: 47.77 kB / 446.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.1146, allocations: 8 kB / 446.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.1146, allocations: 4 kB / 446.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.1147, allocations: 27.86 kB / 446.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.1148, allocations: 39.69 kB / 446.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.115, allocations: 87.64 kB / 446.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.115, allocations: 8 kB / 446.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.115, allocations: 0 / 446.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.115, allocations: 0 / 446.6 MB, free: 13.52 MB / 334.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.0005871/0.1156, allocations: 399.2 kB / 447 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1156, allocations: 12.03 kB / 447 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1157, allocations: 8.844 kB / 447 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.116, allocations: 212.2 kB / 447.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.116, allocations: 12.56 kB / 447.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1161, allocations: 12.12 kB / 447.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.1166, allocations: 241.7 kB / 447.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1166, allocations: 3.938 kB / 447.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1166, allocations: 0 / 447.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1166, allocations: 4 kB / 447.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1168, allocations: 47.91 kB / 447.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1172, allocations: 318.4 kB / 447.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.1175, allocations: 151.7 kB / 448 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1177, allocations: 90.59 kB / 448.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.1177, allocations: 4 kB / 448.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.1178, allocations: 38.56 kB / 448.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.1178, allocations: 0 / 448.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004491/0.1182, allocations: 173.3 kB / 448.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.1184, allocations: 123 kB / 448.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1185, allocations: 130 kB / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1185, allocations: 33.69 kB / 448.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.1186, allocations: 96.08 kB / 448.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1187, allocations: 15.89 kB / 448.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.1187, allocations: 33.72 kB / 448.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1189, allocations: 318.8 kB / 449 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.1189, allocations: 27.97 kB / 449.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1191, allocations: 134.5 kB / 449.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1193, allocations: 162.4 kB / 449.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1193, allocations: 8 kB / 449.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002806/0.1196, allocations: 169.7 kB / 449.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1196, allocations: 8 kB / 449.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1196, allocations: 4.031 kB / 449.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.1197, allocations: 15.92 kB / 449.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.1198, allocations: 35.92 kB / 449.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.1199, allocations: 11.94 kB / 449.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/0.1199, allocations: 7.906 kB / 449.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.12, allocations: 11.94 kB / 449.6 MB, free: 10.13 MB / 334.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.0001482/0.1201, allocations: 133.8 kB / 449.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.1203, allocations: 113.5 kB / 449.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.1204, allocations: 28.8 kB / 449.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1204, allocations: 0 / 449.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1204, allocations: 4 kB / 449.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1204, allocations: 0 / 449.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1207, allocations: 193.5 kB / 450.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1207, allocations: 7.938 kB / 450.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1208, allocations: 31.91 kB / 450.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1208, allocations: 4 kB / 450.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1208, allocations: 3.938 kB / 450.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1208, allocations: 4 kB / 450.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1208, allocations: 4 kB / 450.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1212, allocations: 245 kB / 450.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.1213, allocations: 92.86 kB / 450.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1213, allocations: 15.92 kB / 450.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.1214, allocations: 4 kB / 450.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1214, allocations: 4 kB / 450.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1214, allocations: 8 kB / 450.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.234e-05/0.1215, allocations: 99.27 kB / 450.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1215, allocations: 0 / 450.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1218, allocations: 20 kB / 450.6 MB, free: 9.023 MB / 334.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.0001653/0.122, allocations: 99.23 kB / 450.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.1223, allocations: 108.2 kB / 450.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1223, allocations: 0 / 450.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.1223, allocations: 8 kB / 450.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1228, allocations: 71.94 kB / 450.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.1234, allocations: 255.5 kB / 451.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1237, allocations: 0.7278 MB / 451.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.557e-05/0.1238, allocations: 5.094 kB / 451.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.1239, allocations: 19.42 kB / 451.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1239, allocations: 0 / 451.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of Templates: time 0.004344/0.1282, allocations: 1.102 MB / 453 MB, free: 6.578 MB / 334.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)