Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001026/0.001026, allocations: 171.8 kB / 16.76 MB, free: 4.906 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.559/1.559, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008694/0.0008691, allocations: 89.36 kB / 271.3 MB, free: 8.238 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.07583/0.07583, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.000412, allocations: 20 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.001848/0.102, allocations: 1.481 MB / 444.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.103, allocations: 0.6636 MB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1031, allocations: 4 kB / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1034, allocations: 23.8 kB / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.026e-05/0.1034, allocations: 11.86 kB / 445.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1037, allocations: 43.95 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1038, allocations: 103.6 kB / 445.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.104, allocations: 60.81 kB / 445.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.1041, allocations: 27.86 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1042, allocations: 35.78 kB / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1042, allocations: 0 / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.1043, allocations: 4 kB / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.1043, allocations: 11.92 kB / 445.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.1044, allocations: 61.45 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.684e-05/0.1045, allocations: 59.88 kB / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1045, allocations: 0 / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1045, allocations: 0 / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1045, allocations: 0 / 445.5 MB, free: 13.51 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.0004493/0.105, allocations: 391.6 kB / 445.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.105, allocations: 12.03 kB / 445.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.1051, allocations: 12.75 kB / 445.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1053, allocations: 208.9 kB / 446.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1053, allocations: 8.562 kB / 446.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1053, allocations: 12.12 kB / 446.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.1057, allocations: 249.4 kB / 446.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1057, allocations: 0 / 446.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1057, allocations: 7.984 kB / 446.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1058, allocations: 0 / 446.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1059, allocations: 59.89 kB / 446.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.1062, allocations: 306.4 kB / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1064, allocations: 147.7 kB / 446.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1065, allocations: 94.64 kB / 447 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1066, allocations: 0 / 447 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1066, allocations: 42.5 kB / 447.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.884e-06/0.1066, allocations: 0 / 447.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003417/0.107, allocations: 182.1 kB / 447.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.107, allocations: 119 kB / 447.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.1071, allocations: 127.7 kB / 447.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1071, allocations: 33.64 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.1072, allocations: 104 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1072, allocations: 7.906 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.1072, allocations: 8.156 kB / 447.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.1073, allocations: 322.8 kB / 447.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.1073, allocations: 31.97 kB / 448 MB, free: 10.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.1074, allocations: 130.6 kB / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1076, allocations: 170.3 kB / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1076, allocations: 0 / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002236/0.1078, allocations: 181.2 kB / 448.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1079, allocations: 12.52 kB / 448.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1079, allocations: 8 kB / 448.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1079, allocations: 7.938 kB / 448.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.108, allocations: 35.92 kB / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.108, allocations: 4 kB / 448.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.1081, allocations: 19.84 kB / 448.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1081, allocations: 8 kB / 448.5 MB, free: 10.14 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.0001353/0.1083, allocations: 138.4 kB / 448.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.1084, allocations: 117.5 kB / 448.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.1085, allocations: 24.8 kB / 448.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1085, allocations: 4 kB / 448.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1085, allocations: 0 / 448.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1085, allocations: 0 / 448.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1086, allocations: 193.5 kB / 449 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1087, allocations: 0 / 449 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1088, allocations: 31.97 kB / 449 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1088, allocations: 4 kB / 449 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1088, allocations: 11.94 kB / 449.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1088, allocations: 0 / 449.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1088, allocations: 8 kB / 449.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.109, allocations: 243.6 kB / 449.3 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.1091, allocations: 89.02 kB / 449.4 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1091, allocations: 11.92 kB / 449.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1092, allocations: 15.94 kB / 449.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1092, allocations: 0 / 449.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1092, allocations: 4 kB / 449.4 MB, free: 9.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.1093, allocations: 99.27 kB / 449.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1093, allocations: 0 / 449.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.1095, allocations: 27.92 kB / 449.5 MB, free: 9.031 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.601e-05/0.1096, allocations: 99.19 kB / 449.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1098, allocations: 107.7 kB / 449.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1098, allocations: 7.938 kB / 449.8 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.1099, allocations: 5.062 kB / 449.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1103, allocations: 75.94 kB / 449.8 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.1108, allocations: 317.2 kB / 450.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.1109, allocations: 0.7165 MB / 450.9 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.111, allocations: 11.44 kB / 450.9 MB, free: 7.633 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.111, allocations: 0 / 450.9 MB, free: 7.633 MB / 298.7 MB Notification: Performance of Templates: time 0.00246/0.1134, allocations: 1.389 MB / 452.3 MB, free: 6.242 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)